Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0009101/0.0009101, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009642/0.0009642, allocations: 173.3 kB / 24.92 MB, free: 9.188 MB / 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.456e-05, allocations: 6.312 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003176/0.0032, allocations: 2.918 MB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004627, allocations: 0.7086 MB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.004825, allocations: 11.94 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.005005, allocations: 63.36 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.005178, allocations: 95.12 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.005464, allocations: 87.88 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.005867, allocations: 390.2 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.00638, allocations: 112.4 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.006807, allocations: 227.4 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.006953, allocations: 115.7 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.00699, allocations: 36 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.007022, allocations: 32 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.007066, allocations: 75.67 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.619e-05/0.007163, allocations: 115.8 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.007469, allocations: 251 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.007473, allocations: 0 / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007474, allocations: 0 / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.00748, allocations: 0 / 278.7 MB, free: 11.99 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.0005643/0.008044, allocations: 0.5156 MB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.008092, allocations: 8.031 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.008195, allocations: 48.89 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.008431, allocations: 177.3 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.008448, allocations: 21.03 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.008488, allocations: 32.38 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.008754, allocations: 258.7 kB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.008764, allocations: 4.125 kB / 279.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.868e-05/0.008783, allocations: 20.38 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.008792, allocations: 11.94 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.008886, allocations: 72.56 kB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.00969, allocations: 0.6849 MB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.009821, allocations: 94.45 kB / 280.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.009862, allocations: 36.83 kB / 280.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.00988, allocations: 4 kB / 280.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.009905, allocations: 34.56 kB / 280.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.244e-06/0.009907, allocations: 3.984 kB / 280.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001775/0.01008, allocations: 111.5 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.01012, allocations: 59.34 kB / 280.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.01023, allocations: 184.8 kB / 281.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.01025, allocations: 29.7 kB / 281.1 MB, free: 9.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.01032, allocations: 188.3 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.01036, allocations: 67.41 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.01041, allocations: 49.69 kB / 281.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.01049, allocations: 334.8 kB / 281.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.01052, allocations: 19.98 kB / 281.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.01058, allocations: 73.97 kB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.01069, allocations: 117.8 kB / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0107, allocations: 0 / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001849/0.01088, allocations: 137.4 kB / 282.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.0109, allocations: 7.984 kB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.0109, allocations: 4 kB / 282.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01092, allocations: 0 / 282.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.01115, allocations: 75.95 kB / 282.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.01116, allocations: 7.938 kB / 282.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.01122, allocations: 23.84 kB / 282.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01123, allocations: 8 kB / 282.2 MB, free: 8.285 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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 7.797e-05/0.01131, allocations: 113.8 kB / 282.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.01134, allocations: 23.97 kB / 282.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.01148, allocations: 111.3 kB / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01148, allocations: 0 / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01148, allocations: 3.938 kB / 282.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01149, allocations: 3.984 kB / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01167, allocations: 157.7 kB / 282.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01167, allocations: 4 kB / 282.6 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.01185, allocations: 60.7 kB / 282.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01185, allocations: 4 kB / 282.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01186, allocations: 7.938 kB / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.01186, allocations: 0 / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01187, allocations: 0 / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.01207, allocations: 234.3 kB / 282.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.01209, allocations: 19.8 kB / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01211, allocations: 15.94 kB / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.01218, allocations: 7.984 kB / 282.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.01222, allocations: 19.97 kB / 283 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01222, allocations: 0 / 283 MB, free: 7.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.01226, allocations: 52.97 kB / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01226, allocations: 0 / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.01245, allocations: 75.78 kB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.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 (19): * Single equations (assignments): 19 * 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.0001066/0.01256, allocations: 84.36 kB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.01269, allocations: 100.6 kB / 283.3 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.01269, allocations: 4 kB / 283.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.01274, allocations: 40.78 kB / 283.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01292, allocations: 27.98 kB / 283.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.01386, allocations: 0.5964 MB / 283.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.01391, allocations: 92.06 kB / 284 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.01398, allocations: 17.94 kB / 284 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.01407, allocations: 91.36 kB / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01407, allocations: 0 / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of Templates: time 0.004821/0.01889, allocations: 2.051 MB / 286.2 MB, free: 4.223 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.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: 2.780828050803393]