Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001995/0.001995, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 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.002333/0.002333, allocations: 189.4 kB / 22.92 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 207.6 MB / 233.5 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 58.72 kB / 345.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4253, allocations: 49.11 MB / 394.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007063/0.4324, allocations: 5.378 MB / 399.9 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.4372, allocations: 1.483 MB / 401.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.4383, allocations: 24.81 kB / 401.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.439, allocations: 218.7 kB / 401.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007334/0.4397, allocations: 194.6 kB / 401.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.4409, allocations: 419 kB / 402.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.4424, allocations: 1.12 MB / 403.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.4431, allocations: 338.4 kB / 403.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.4438, allocations: 402 kB / 404.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.4444, allocations: 435 kB / 404.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.4446, allocations: 83.62 kB / 404.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.4449, allocations: 96.38 kB / 404.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4451, allocations: 210.4 kB / 404.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.4456, allocations: 0.4971 MB / 405.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.4472, allocations: 1.183 MB / 406.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4472, allocations: 0 / 406.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4472, allocations: 1.156 kB / 406.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.4472, allocations: 0 / 406.6 MB, free: 1.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001951/0.4492, allocations: 1.344 MB / 407.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4492, allocations: 12.11 kB / 407.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.4494, allocations: 129.1 kB / 408 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4505, allocations: 0.656 MB / 408.7 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.4506, allocations: 76.88 kB / 408.8 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4507, allocations: 102.2 kB / 408.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.4527, allocations: 1.028 MB / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.4528, allocations: 15.98 kB / 409.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.4528, allocations: 44.06 kB / 410 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.4529, allocations: 28.81 kB / 410 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.4541, allocations: 0.5538 MB / 410.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006197/0.4603, allocations: 5.49 MB / 416 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.461, allocations: 226.5 kB / 416.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.4614, allocations: 162.4 kB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.4616, allocations: 82.42 kB / 416.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.4616, allocations: 41.12 kB / 416.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.484e-06/0.4616, allocations: 1.281 kB / 416.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004308/0.4659, allocations: 1.732 MB / 418.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.466, allocations: 89.38 kB / 418.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.467, allocations: 0.6428 MB / 419 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.467, allocations: 35.14 kB / 419 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.4675, allocations: 0.612 MB / 419.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.4677, allocations: 154.2 kB / 419.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.4679, allocations: 135.4 kB / 419.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.4681, allocations: 387.7 kB / 420.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.4685, allocations: 152.6 kB / 420.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.4691, allocations: 496.5 kB / 420.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4701, allocations: 0.6968 MB / 421.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4701, allocations: 3.344 kB / 421.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001332/0.4715, allocations: 0.7184 MB / 422.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4715, allocations: 13.94 kB / 422.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4715, allocations: 11.72 kB / 422.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.803e-05/0.4716, allocations: 17.59 kB / 422.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.4722, allocations: 196.8 kB / 422.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.952e-05/0.4723, allocations: 31.48 kB / 422.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.4727, allocations: 34.48 kB / 422.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.4727, allocations: 40.28 kB / 422.7 MB, free: 5.293 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.4731, allocations: 229.5 kB / 422.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.4733, allocations: 77.86 kB / 423 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.4734, allocations: 83.09 kB / 423.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4734, allocations: 5.5 kB / 423.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.4735, allocations: 3.938 kB / 423.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4735, allocations: 1.375 kB / 423.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.4759, allocations: 1.311 MB / 424.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4759, allocations: 2.969 kB / 424.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.4764, allocations: 107.1 kB / 424.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.4764, allocations: 3.656 kB / 424.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.4764, allocations: 15.81 kB / 424.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.4765, allocations: 10.86 kB / 424.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4765, allocations: 6.656 kB / 424.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4777, allocations: 0.706 MB / 425.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.4779, allocations: 151.8 kB / 425.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.4779, allocations: 12.41 kB / 425.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4782, allocations: 24.64 kB / 425.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.4783, allocations: 25.47 kB / 425.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.4783, allocations: 13.05 kB / 425.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005596/0.4789, allocations: 421.9 kB / 425.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4789, allocations: 1.375 kB / 425.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008417/0.4797, allocations: 139.8 kB / 426 MB, free: 3.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001992/0.4799, allocations: 114.2 kB / 426.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009465/0.4809, allocations: 429.6 kB / 426.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4809, allocations: 0 / 426.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.4812, allocations: 147.5 kB / 426.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.4818, allocations: 71.92 kB / 426.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.4853, allocations: 1.677 MB / 428.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.486, allocations: 1.004 MB / 429.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002735/0.4863, allocations: 90.02 kB / 429.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.4864, allocations: 71.41 kB / 429.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4864, allocations: 0 / 429.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Templates: time 0.01332/0.4998, allocations: 5.325 MB / 434.9 MB, free: 10.32 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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: 5.764792203903198]