Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001924/0.001924, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002327/0.002327, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.77 kB / 379.1 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2621, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00448/0.2666, allocations: 2.937 MB / 435.4 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.268, allocations: 0.7244 MB / 436.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.2682, allocations: 8 kB / 436.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.2684, allocations: 59.38 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.2686, allocations: 91.17 kB / 436.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.2689, allocations: 91.83 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.2694, allocations: 386.8 kB / 436.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.2696, allocations: 126.8 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.2699, allocations: 155.5 kB / 437 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.2701, allocations: 155.3 kB / 437.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.2702, allocations: 32 kB / 437.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.2702, allocations: 32 kB / 437.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.2703, allocations: 71.75 kB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2705, allocations: 179.1 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.2709, allocations: 386.1 kB / 437.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2709, allocations: 0 / 437.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2709, allocations: 0 / 437.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2709, allocations: 0 / 437.8 MB, free: 1.535 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001005/0.2719, allocations: 0.556 MB / 438.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.272, allocations: 8.031 kB / 438.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.2721, allocations: 40.7 kB / 438.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2725, allocations: 202.7 kB / 438.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2725, allocations: 25.03 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.2726, allocations: 32.38 kB / 438.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.2731, allocations: 282.4 kB / 438.9 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2731, allocations: 4 kB / 439 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.2731, allocations: 12 kB / 439 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2731, allocations: 8 kB / 439 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.2736, allocations: 214.5 kB / 439.2 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.2752, allocations: 0.9799 MB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.2756, allocations: 158.5 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.2759, allocations: 124 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.2759, allocations: 7.891 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.276, allocations: 34.56 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.374e-06/0.276, allocations: 0 / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006384/0.2766, allocations: 221.4 kB / 440.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2767, allocations: 59.33 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.2769, allocations: 227 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2769, allocations: 25.7 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2771, allocations: 192.4 kB / 441.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.2772, allocations: 83.33 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.2773, allocations: 45.98 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.2775, allocations: 338.8 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2777, allocations: 64.52 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2779, allocations: 151.3 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.2783, allocations: 229.1 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2783, allocations: 0 / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005136/0.2788, allocations: 273.3 kB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2788, allocations: 4 kB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2788, allocations: 4 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2789, allocations: 4 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.2792, allocations: 71.89 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.2792, allocations: 7.938 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2793, allocations: 31.78 kB / 442.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2794, allocations: 8 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001889/0.2795, allocations: 149.9 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.2796, allocations: 27.8 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.28, allocations: 191.3 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2801, allocations: 8.031 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2801, allocations: 0 / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2801, allocations: 0 / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.281, allocations: 0.587 MB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.281, allocations: 0 / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.2813, allocations: 55.95 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2813, allocations: 0 / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2813, allocations: 8 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2813, allocations: 0 / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2813, allocations: 3.938 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.2819, allocations: 371.3 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.2819, allocations: 35.84 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.2819, allocations: 4 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2821, allocations: 19.98 kB / 443.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.2822, allocations: 15.97 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2822, allocations: 4 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.2823, allocations: 156.6 kB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2823, allocations: 0 / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.2827, allocations: 79.78 kB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.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 (21): * Single equations (assignments): 21 * 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.0001392/0.2828, allocations: 111.1 kB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.2832, allocations: 180 kB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2832, allocations: 0 / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.2834, allocations: 75.89 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2838, allocations: 29.52 kB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2854, allocations: 0.8563 MB / 445.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.2859, allocations: 0.7675 MB / 446.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.726e-05/0.286, allocations: 17.94 kB / 446.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.286, allocations: 27.44 kB / 446.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.286, allocations: 0 / 446.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of Templates: time 0.006119/0.2922, allocations: 2.229 MB / 448.5 MB, free: 6.48 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.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.6070093838498]