Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0009438/0.0009438, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009838/0.0009838, allocations: 165.2 kB / 25.61 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9555/0.9555, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.886e-05, allocations: 2.312 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002781/0.0028, allocations: 2.874 MB / 277 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.003799, allocations: 0.6941 MB / 277.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.003937, allocations: 11.94 kB / 277.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.004101, allocations: 63.98 kB / 277.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.004235, allocations: 93.45 kB / 277.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.00444, allocations: 87.86 kB / 277.9 MB, free: 440 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.004721, allocations: 387.5 kB / 278.3 MB, free: 52 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.004908, allocations: 105.8 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.005202, allocations: 231.4 kB / 278.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.005327, allocations: 112.6 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.005361, allocations: 32 kB / 278.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/0.005393, allocations: 32.66 kB / 278.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.005433, allocations: 71.73 kB / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.005516, allocations: 127.7 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005738, allocations: 251 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005741, allocations: 0 / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005741, allocations: 0 / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.005746, allocations: 0 / 279.3 MB, free: 15.11 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.00631, allocations: 0.6363 MB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.006339, allocations: 8.031 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.006411, allocations: 68.69 kB / 280 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.006616, allocations: 196.1 kB / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.006635, allocations: 25.03 kB / 280.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.006672, allocations: 36.36 kB / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.006919, allocations: 254.7 kB / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00693, allocations: 192 / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.006949, allocations: 12.38 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.006956, allocations: 7.938 kB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.007059, allocations: 88.52 kB / 280.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.007861, allocations: 0.821 MB / 281.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.007998, allocations: 115.1 kB / 281.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.008041, allocations: 35.67 kB / 281.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.008054, allocations: 4 kB / 281.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.008077, allocations: 37.39 kB / 281.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.51e-07/0.008078, allocations: 0 / 281.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001985/0.008276, allocations: 143.8 kB / 281.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.008302, allocations: 55.39 kB / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.008457, allocations: 243.1 kB / 282 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.00847, allocations: 25.7 kB / 282 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.00856, allocations: 251 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.008595, allocations: 75.41 kB / 282.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.008647, allocations: 51.34 kB / 282.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.008785, allocations: 0.5001 MB / 282.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.008818, allocations: 23.98 kB / 282.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.008885, allocations: 106.4 kB / 283 MB, free: 11.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.008989, allocations: 133.5 kB / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008991, allocations: 0 / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002291/0.00922, allocations: 173.3 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.009231, allocations: 4 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009236, allocations: 4 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.009247, allocations: 7.938 kB / 283.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.009397, allocations: 59.91 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.009402, allocations: 4 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.009467, allocations: 27.88 kB / 283.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.009476, allocations: 4 kB / 283.4 MB, free: 10.62 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 8.257e-05/0.009559, allocations: 172.6 kB / 283.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.009588, allocations: 19.91 kB / 283.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.009729, allocations: 133.8 kB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.009731, allocations: 3.938 kB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.009733, allocations: 0 / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009738, allocations: 7.984 kB / 283.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.009902, allocations: 181 kB / 284 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009903, allocations: 0 / 284 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.01004, allocations: 47.91 kB / 284 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01004, allocations: 4 kB / 284 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01005, allocations: 8 kB / 284 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.01005, allocations: 0 / 284 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01005, allocations: 0 / 284 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.01026, allocations: 315.6 kB / 284.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01029, allocations: 27.8 kB / 284.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01031, allocations: 0 / 284.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.01038, allocations: 15.98 kB / 284.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.01041, allocations: 11.97 kB / 284.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01042, allocations: 11.94 kB / 284.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.01048, allocations: 167 kB / 284.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01048, allocations: 0 / 284.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.0107, allocations: 79.78 kB / 284.6 MB, free: 9.383 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 8.369e-05/0.01078, allocations: 100.9 kB / 284.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01092, allocations: 97.34 kB / 284.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01092, allocations: 4 kB / 284.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.01097, allocations: 55.58 kB / 284.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.01117, allocations: 24.23 kB / 284.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01221, allocations: 0.6927 MB / 285.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01227, allocations: 88.2 kB / 285.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.458e-05/0.01232, allocations: 17.64 kB / 285.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.01242, allocations: 114.1 kB / 285.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01242, allocations: 0 / 285.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of Templates: time 0.003977/0.01639, allocations: 1.971 MB / 287.8 MB, free: 6.207 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.845826136879623]