Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001418/0.001418, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001541/0.001541, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.468/1.468, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.637e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004649/0.004675, allocations: 2.712 MB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.006108, allocations: 0.6854 MB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.006261, allocations: 4 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.00648, allocations: 63.42 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.006676, allocations: 99.06 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.00697, allocations: 91.81 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.007446, allocations: 394.7 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.007716, allocations: 120.8 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.008139, allocations: 227.5 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.008331, allocations: 115.7 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.008387, allocations: 32 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.008448, allocations: 36 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.008525, allocations: 75.73 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.008676, allocations: 115.7 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.009191, allocations: 398.6 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.009195, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009196, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.009203, allocations: 0 / 277.5 MB, free: 12.65 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001048/0.01025, allocations: 0.5482 MB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.01029, allocations: 8.031 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.01041, allocations: 64.7 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.0108, allocations: 209.2 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.01083, allocations: 29.03 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.0109, allocations: 32.38 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.01152, allocations: 334 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01154, allocations: 192 / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.01158, allocations: 16.38 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01159, allocations: 7.938 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.0121, allocations: 214.5 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.01377, allocations: 0.8642 MB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.01413, allocations: 146.6 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.01444, allocations: 128.8 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01446, allocations: 4 kB / 280 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.0145, allocations: 34.5 kB / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.0145, allocations: 0 / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006383/0.01514, allocations: 233 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.01518, allocations: 59.41 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.01541, allocations: 198.7 kB / 280.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.01544, allocations: 25.7 kB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01559, allocations: 200.3 kB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.01567, allocations: 75.38 kB / 280.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.01576, allocations: 49.98 kB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003209/0.01608, allocations: 330.8 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.01626, allocations: 64.47 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.01652, allocations: 155.2 kB / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.01694, allocations: 225.2 kB / 281.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01695, allocations: 4 kB / 281.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005446/0.01749, allocations: 281.1 kB / 281.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01751, allocations: 8 kB / 281.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01752, allocations: 0 / 281.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.01754, allocations: 7.938 kB / 282 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.01785, allocations: 72.16 kB / 282 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.01786, allocations: 15.92 kB / 282 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.01803, allocations: 31.84 kB / 282.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01805, allocations: 8 kB / 282.1 MB, free: 7.75 MB / 266.7 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.0001521/0.0182, allocations: 145.7 kB / 282.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.01826, allocations: 23.91 kB / 282.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.01872, allocations: 199.3 kB / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01873, allocations: 0 / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.01873, allocations: 7.938 kB / 282.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01874, allocations: 0 / 282.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008675/0.0196, allocations: 0.4996 MB / 282.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01961, allocations: 3.938 kB / 283 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.0199, allocations: 59.91 kB / 283 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.01991, allocations: 7.922 kB / 283 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.01993, allocations: 4 kB / 283 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01993, allocations: 4.062 kB / 283 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01993, allocations: 0 / 283 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.02062, allocations: 380.3 kB / 283.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.02066, allocations: 23.95 kB / 283.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.02069, allocations: 3.938 kB / 283.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.02087, allocations: 19.98 kB / 283.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.02093, allocations: 11.98 kB / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.02094, allocations: 11.98 kB / 283.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.02109, allocations: 144.2 kB / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02109, allocations: 0 / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.02147, allocations: 75.78 kB / 283.7 MB, free: 6.066 MB / 266.7 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.0001436/0.02162, allocations: 107.2 kB / 283.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.02206, allocations: 168.2 kB / 283.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02207, allocations: 0 / 283.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.02225, allocations: 83.83 kB / 284 MB, free: 5.707 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.02262, allocations: 31.92 kB / 284.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.02389, allocations: 0.7066 MB / 284.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.02406, allocations: 155.1 kB / 284.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.02416, allocations: 25.94 kB / 284.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.02422, allocations: 20.5 kB / 285 MB, free: 4.719 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02422, allocations: 4 kB / 285 MB, free: 4.715 MB / 266.7 MB Notification: Performance of Templates: time 0.005679/0.0299, allocations: 1.827 MB / 286.8 MB, free: 2.926 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.447978244978003]