Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.002773/0.002773, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002829/0.002829, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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 1.591/1.591, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.813e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005879/0.005907, allocations: 3.616 MB / 270.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.008586, allocations: 1.386 MB / 272.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.008743, allocations: 8 kB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.0107, allocations: 0.7972 MB / 273.1 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.01189, allocations: 0.5283 MB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.01278, allocations: 409.4 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.01333, allocations: 477.7 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.01393, allocations: 354 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.01436, allocations: 295.4 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.01467, allocations: 203.4 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.01475, allocations: 47.94 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.01515, allocations: 199.7 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.01525, allocations: 99.59 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.01547, allocations: 171.5 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009503/0.01642, allocations: 0.693 MB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01642, allocations: 4 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01642, allocations: 4 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.01643, allocations: 0 / 276.6 MB, free: 13.46 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.002406/0.01883, allocations: 0.9677 MB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.01887, allocations: 8.031 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/0.02265, allocations: 0.6053 MB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.02307, allocations: 247.9 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.02311, allocations: 45.69 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.0232, allocations: 52.33 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.02416, allocations: 0.5202 MB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.02419, allocations: 4.125 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.02425, allocations: 24.12 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.02427, allocations: 15.98 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.0254, allocations: 0.54 MB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.02872, allocations: 1.686 MB / 281.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.03038, allocations: 0.5795 MB / 281.8 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.03073, allocations: 193.1 kB / 282 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.894e-05/0.0308, allocations: 16.48 kB / 282 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.03084, allocations: 41.83 kB / 282.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.03084, allocations: 4 kB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001983/0.03282, allocations: 0.6995 MB / 282.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.03287, allocations: 55.91 kB / 282.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.03313, allocations: 245.8 kB / 283.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.03317, allocations: 37.7 kB / 283.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.03339, allocations: 275.7 kB / 283.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.03356, allocations: 178.5 kB / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.03374, allocations: 99.84 kB / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.03403, allocations: 0.5157 MB / 284.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.03433, allocations: 144.9 kB / 284.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.03473, allocations: 250.9 kB / 284.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.03568, allocations: 435.3 kB / 285 MB, free: 4.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.03568, allocations: 0 / 285 MB, free: 4.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001097/0.03678, allocations: 0.5514 MB / 285.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.0368, allocations: 8 kB / 285.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.03681, allocations: 0 / 285.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005124/0.03732, allocations: 115.8 kB / 285.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.0377, allocations: 91.83 kB / 285.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.04056, allocations: 2.532 MB / 288.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.04082, allocations: 43.67 kB / 288.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.04086, allocations: 16 kB / 288.3 MB, free: 1.223 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.0002685/0.04112, allocations: 220.5 kB / 288.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.04122, allocations: 39.8 kB / 288.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.0424, allocations: 0.5274 MB / 289.1 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.04241, allocations: 4 kB / 289.1 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.04241, allocations: 4 kB / 289.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.04242, allocations: 7.922 kB / 289.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1205/0.1629, allocations: 1.065 MB / 290.2 MB, free: 31.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1629, allocations: 0 / 290.2 MB, free: 31.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.1632, allocations: 75.75 kB / 290.3 MB, free: 31.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/0.1636, allocations: 111.8 kB / 290.4 MB, free: 31.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.1636, allocations: 14.88 kB / 290.4 MB, free: 31.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.1653, allocations: 2.547 MB / 292.9 MB, free: 29.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1653, allocations: 1.172 kB / 292.9 MB, free: 29.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1665, allocations: 0.8228 MB / 293.8 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1665, allocations: 31.25 kB / 293.8 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.1666, allocations: 11.95 kB / 293.8 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1668, allocations: 21.27 kB / 293.8 MB, free: 29.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.1669, allocations: 36.02 kB / 293.9 MB, free: 29.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.1669, allocations: 14.59 kB / 293.9 MB, free: 29.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.167, allocations: 173.1 kB / 294.1 MB, free: 29.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.167, allocations: 0 / 294.1 MB, free: 29.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000561/0.1676, allocations: 153.8 kB / 294.2 MB, free: 29.16 MB / 266.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.0002201/0.1678, allocations: 139.8 kB / 294.3 MB, free: 29.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.1687, allocations: 0.6171 MB / 295 MB, free: 28.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1687, allocations: 1.219 kB / 295 MB, free: 28.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.1693, allocations: 438 kB / 295.4 MB, free: 28.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1696, allocations: 31.2 kB / 295.4 MB, free: 28.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1707, allocations: 0.7889 MB / 296.2 MB, free: 28.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.1709, allocations: 204.2 kB / 296.4 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.1711, allocations: 44.16 kB / 296.4 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.1711, allocations: 37.83 kB / 296.5 MB, free: 27.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1711, allocations: 0 / 296.5 MB, free: 27.93 MB / 266.7 MB Notification: Performance of Templates: time 0.009758/0.1809, allocations: 4.256 MB / 300.7 MB, free: 27.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.679467224050313]