Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.0009946/0.0009946, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009878/0.0009878, allocations: 142.6 kB / 24.97 MB, free: 9.297 MB / 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 0.9782/0.9782, allocations: 173.3 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.91e-05, allocations: 6.25 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003046/0.003075, allocations: 2.862 MB / 271 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.004034, allocations: 0.6697 MB / 271.6 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004167, allocations: 8 kB / 271.6 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.004341, allocations: 63.36 kB / 271.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.004469, allocations: 87.14 kB / 271.8 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.00471, allocations: 99.73 kB / 271.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.005011, allocations: 398.7 kB / 272.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.005221, allocations: 116.8 kB / 272.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.005439, allocations: 223.5 kB / 272.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.005579, allocations: 119.7 kB / 272.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.00562, allocations: 32 kB / 272.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.005652, allocations: 32 kB / 272.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.0057, allocations: 71.75 kB / 272.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.005788, allocations: 123.7 kB / 273 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.006027, allocations: 255 kB / 273.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00603, allocations: 4 kB / 273.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006031, allocations: 0 / 273.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006036, allocations: 0 / 273.2 MB, free: 1.551 MB / 250.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.0006771/0.006713, allocations: 0.6442 MB / 273.9 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.00675, allocations: 8.922 kB / 273.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.006836, allocations: 64.7 kB / 273.9 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.007072, allocations: 208 kB / 274.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.007091, allocations: 25.03 kB / 274.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.007132, allocations: 32.38 kB / 274.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.00746, allocations: 274.7 kB / 274.5 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.00747, allocations: 192 / 274.5 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.007493, allocations: 20.38 kB / 274.5 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.007508, allocations: 11.94 kB / 274.5 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.007675, allocations: 111.8 kB / 274.6 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.008675, allocations: 0.8908 MB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.008859, allocations: 127 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.009001, allocations: 87.64 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.009017, allocations: 4 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.009041, allocations: 37.39 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.009042, allocations: 0 / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002569/0.009299, allocations: 157.7 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.009328, allocations: 63.36 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.009473, allocations: 245.5 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.009487, allocations: 29.7 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.009585, allocations: 247 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.009625, allocations: 71.33 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.009683, allocations: 59.64 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.009801, allocations: 0.5001 MB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.009854, allocations: 28.55 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.009956, allocations: 141.6 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.01013, allocations: 196.3 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01013, allocations: 0 / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002217/0.01035, allocations: 217.3 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01037, allocations: 11.98 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01037, allocations: 4 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01039, allocations: 7.938 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.01056, allocations: 63.91 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.01056, allocations: 4 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.01063, allocations: 27.84 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01065, allocations: 16 kB / 277.8 MB, free: 12.62 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 8.498e-05/0.01073, allocations: 176.4 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.01076, allocations: 23.91 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01094, allocations: 150.3 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01094, allocations: 7.984 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01095, allocations: 3.938 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01095, allocations: 0 / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.01136, allocations: 0.4997 MB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01136, allocations: 0 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.01152, allocations: 55.91 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01152, allocations: 3.938 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01153, allocations: 12.06 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01154, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01154, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.01182, allocations: 355.4 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.01184, allocations: 23.83 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01186, allocations: 7.938 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.01194, allocations: 12 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.01199, allocations: 19.97 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.012, allocations: 4 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.01208, allocations: 183.9 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01208, allocations: 4 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.0123, allocations: 83.73 kB / 279.4 MB, free: 10.93 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 8.511e-05/0.01239, allocations: 95.25 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.01258, allocations: 127.4 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01259, allocations: 0 / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.01265, allocations: 64.16 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01287, allocations: 31.92 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.01397, allocations: 0.7183 MB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/0.01402, allocations: 87.97 kB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.01408, allocations: 21.95 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.01412, allocations: 24.48 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01412, allocations: 0 / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of Templates: time 0.003665/0.01779, allocations: 1.833 MB / 282.4 MB, free: 7.891 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.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.057303896173835]