Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 174.8 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.2 MB / 206.1 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.382e-05, allocations: 2.312 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003539/0.003553, allocations: 3.594 MB / 277.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005235, allocations: 1.432 MB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.005361, allocations: 8 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.006273, allocations: 0.7767 MB / 280 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005189/0.006791, allocations: 385.8 kB / 280.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.00736, allocations: 0.5175 MB / 280.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.0077, allocations: 477.7 kB / 281.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.008087, allocations: 350 kB / 281.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.008365, allocations: 311.2 kB / 282 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.008569, allocations: 211.4 kB / 282.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.008612, allocations: 40 kB / 282.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.008856, allocations: 203.7 kB / 282.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.008914, allocations: 103.6 kB / 282.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.009024, allocations: 163.6 kB / 282.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.009488, allocations: 0.4943 MB / 283.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.009489, allocations: 0 / 283.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00949, allocations: 0 / 283.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.009496, allocations: 4 kB / 283.2 MB, free: 11.38 MB / 266.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.001188/0.01068, allocations: 0.9561 MB / 284.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01071, allocations: 12.03 kB / 284.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.01252, allocations: 0.5781 MB / 284.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.01277, allocations: 259.5 kB / 285 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.01282, allocations: 41.69 kB / 285.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.449e-05/0.0129, allocations: 52.38 kB / 285.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.01349, allocations: 385.3 kB / 285.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.0135, allocations: 192 / 285.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.01354, allocations: 24.12 kB / 285.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01355, allocations: 16 kB / 285.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.01388, allocations: 274.1 kB / 285.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.01556, allocations: 1.454 MB / 287.2 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.01639, allocations: 0.5633 MB / 287.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.01656, allocations: 105.1 kB / 287.9 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.01662, allocations: 24.48 kB / 287.9 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.01665, allocations: 45.83 kB / 288 MB, free: 6.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.01665, allocations: 0 / 288 MB, free: 6.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008242/0.01748, allocations: 0.4963 MB / 288.5 MB, free: 5.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.0175, allocations: 55.91 kB / 288.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.01762, allocations: 230.4 kB / 288.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.01764, allocations: 29.7 kB / 288.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.01775, allocations: 275.7 kB / 289 MB, free: 5.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/0.01785, allocations: 166.6 kB / 289.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.01794, allocations: 103.7 kB / 289.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01808, allocations: 0.5079 MB / 289.8 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.01816, allocations: 60.95 kB / 289.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.0183, allocations: 170.9 kB / 290 MB, free: 4.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.01854, allocations: 271.3 kB / 290.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01854, allocations: 3.938 kB / 290.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004369/0.01898, allocations: 396.7 kB / 290.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01899, allocations: 8 kB / 290.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01899, allocations: 0 / 290.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.01923, allocations: 99.7 kB / 290.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.01942, allocations: 91.89 kB / 290.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.02067, allocations: 2.283 MB / 293.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.02079, allocations: 43.66 kB / 293.2 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.02081, allocations: 16 kB / 293.2 MB, free: 0.9141 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.02092, allocations: 176.5 kB / 293.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.02098, allocations: 35.86 kB / 293.4 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.02144, allocations: 404 kB / 293.8 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.02145, allocations: 11.94 kB / 293.9 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.02145, allocations: 0 / 293.9 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.02146, allocations: 3.984 kB / 293.9 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/0.02224, allocations: 0.7991 MB / 294.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02224, allocations: 0 / 294.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.0224, allocations: 79.89 kB / 294.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.02259, allocations: 83.62 kB / 294.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.02261, allocations: 19.98 kB / 294.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.0238, allocations: 2.279 MB / 297.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.0238, allocations: 7.984 kB / 297.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.02433, allocations: 0.5563 MB / 297.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.02435, allocations: 35.67 kB / 297.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.02438, allocations: 7.984 kB / 297.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.02448, allocations: 19.94 kB / 297.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.02454, allocations: 36.42 kB / 297.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.02455, allocations: 12 kB / 297.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.02462, allocations: 161.3 kB / 297.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02462, allocations: 4.031 kB / 297.9 MB, free: 12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003492/0.02497, allocations: 151.6 kB / 298.1 MB, free: 11.86 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.02513, allocations: 143.1 kB / 298.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.02558, allocations: 475.7 kB / 298.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.02558, allocations: 448 / 298.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.02584, allocations: 361.1 kB / 299.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.02605, allocations: 34 kB / 299.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.02713, allocations: 0.7255 MB / 299.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.094e-05/0.02719, allocations: 106.3 kB / 299.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.0273, allocations: 46.95 kB / 300 MB, free: 9.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.02742, allocations: 122.2 kB / 300.1 MB, free: 9.77 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02742, allocations: 4 kB / 300.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of Templates: time 0.01065/0.03807, allocations: 4.905 MB / 305 MB, free: 4.918 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.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: 3.049406812991947]