Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 147.1 kB / 25.59 MB, free: 8.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9318/0.9318, allocations: 173.4 MB / 202.3 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.217e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003165/0.003177, allocations: 3.586 MB / 272.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.004741, allocations: 1.373 MB / 274.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.004881, allocations: 11.06 kB / 274.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.005847, allocations: 0.7746 MB / 274.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.006521, allocations: 0.5167 MB / 275.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.00696, allocations: 406.1 kB / 275.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.007309, allocations: 485.7 kB / 276.3 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.007759, allocations: 414.2 kB / 276.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.008033, allocations: 315.2 kB / 277 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.008235, allocations: 207.4 kB / 277.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.00828, allocations: 44 kB / 277.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.008532, allocations: 207.6 kB / 277.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.008597, allocations: 111.6 kB / 277.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.008704, allocations: 159.6 kB / 277.8 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.009165, allocations: 0.5098 MB / 278.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.009167, allocations: 0 / 278.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.009168, allocations: 0 / 278.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.009172, allocations: 0 / 278.3 MB, free: 0.6875 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0012/0.01037, allocations: 0.9562 MB / 279.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.0104, allocations: 12.03 kB / 279.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.01217, allocations: 0.6054 MB / 279.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.01242, allocations: 256 kB / 280.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.01244, allocations: 37.69 kB / 280.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.0125, allocations: 56.33 kB / 280.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.01289, allocations: 381.3 kB / 280.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.0129, allocations: 4.188 kB / 280.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.01294, allocations: 24.12 kB / 280.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01295, allocations: 12 kB / 280.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.01326, allocations: 274.2 kB / 280.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.01483, allocations: 1.498 MB / 282.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.01555, allocations: 0.545 MB / 282.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.01572, allocations: 153 kB / 283.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.01577, allocations: 20.48 kB / 283.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.01579, allocations: 37.89 kB / 283.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.01579, allocations: 0 / 283.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007148/0.01651, allocations: 464.2 kB / 283.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.01653, allocations: 59.91 kB / 283.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.01664, allocations: 223.7 kB / 283.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.01667, allocations: 37.7 kB / 283.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01677, allocations: 275.6 kB / 284.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.01686, allocations: 170.5 kB / 284.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.01696, allocations: 87.81 kB / 284.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01711, allocations: 0.5079 MB / 284.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.01718, allocations: 60.95 kB / 285 MB, free: 9.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.01732, allocations: 186.2 kB / 285.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.01756, allocations: 282.1 kB / 285.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01756, allocations: 4 kB / 285.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000428/0.01799, allocations: 380.8 kB / 285.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.018, allocations: 6.031 kB / 285.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01801, allocations: 4 kB / 285.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.01825, allocations: 95.81 kB / 285.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.01843, allocations: 95.83 kB / 286 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.01948, allocations: 1.968 MB / 288 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.0196, allocations: 43.67 kB / 288 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.01962, allocations: 15.94 kB / 288 MB, free: 6.484 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.01975, allocations: 184.4 kB / 288.2 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.0198, allocations: 43.8 kB / 288.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.02027, allocations: 380.2 kB / 288.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02027, allocations: 4 kB / 288.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02028, allocations: 4 kB / 288.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.02028, allocations: 7.984 kB / 288.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.02102, allocations: 0.8251 MB / 289.5 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02102, allocations: 4 kB / 289.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.02119, allocations: 71.91 kB / 289.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.02137, allocations: 91.66 kB / 289.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.02139, allocations: 12 kB / 289.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009468/0.02234, allocations: 1.967 MB / 291.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02234, allocations: 3.938 kB / 291.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.02283, allocations: 0.5755 MB / 292.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.02285, allocations: 31.73 kB / 292.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.02287, allocations: 12.06 kB / 292.2 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02298, allocations: 16 kB / 292.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.02304, allocations: 44.36 kB / 292.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.02305, allocations: 8 kB / 292.3 MB, free: 2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.02311, allocations: 157.1 kB / 292.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02311, allocations: 3.938 kB / 292.4 MB, free: 1.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.02342, allocations: 151.6 kB / 292.6 MB, free: 1.695 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.02357, allocations: 139.1 kB / 292.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.02402, allocations: 475.6 kB / 293.2 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02402, allocations: 4 kB / 293.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.02428, allocations: 361.1 kB / 293.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.0245, allocations: 34.73 kB / 293.6 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02564, allocations: 0.7484 MB / 294.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.0257, allocations: 110.3 kB / 294.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.02581, allocations: 42.95 kB / 294.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.02593, allocations: 118.2 kB / 294.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of SimCode: time 4.9e-07/0.02593, allocations: 4 kB / 294.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Templates: time 0.006421/0.03236, allocations: 4.705 MB / 299.3 MB, free: 10.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7958015371114016]