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.001723/0.001723, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002138/0.002138, allocations: 210 kB / 24.48 MB, free: 3.941 MB / 14.72 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.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+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 0.001543/0.001543, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2285, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004268/0.2327, allocations: 2.711 MB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.234, allocations: 0.67 MB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.2341, allocations: 11.94 kB / 435.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.2343, allocations: 55.44 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2345, allocations: 99.12 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2348, allocations: 87.81 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.2352, allocations: 382.3 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.2355, allocations: 113.8 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2357, allocations: 151.5 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.236, allocations: 159.3 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.236, allocations: 32 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.872e-05/0.2361, allocations: 32 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.2361, allocations: 67.77 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.2363, allocations: 143.4 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.2367, allocations: 381.4 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2367, allocations: 0 / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2367, allocations: 0 / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2367, allocations: 0 / 437.4 MB, free: 1.613 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.0009777/0.2377, allocations: 0.5442 MB / 437.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2377, allocations: 8.031 kB / 438 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.2378, allocations: 40.7 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2381, allocations: 210.7 kB / 438.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.2382, allocations: 21.03 kB / 438.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.2382, allocations: 36.38 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.2389, allocations: 325.8 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2389, allocations: 4 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.2389, allocations: 12 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2389, allocations: 8 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.2394, allocations: 202.5 kB / 438.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2408, allocations: 0.8127 MB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.2412, allocations: 154.6 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2414, allocations: 72.81 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2414, allocations: 7.938 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2414, allocations: 34.56 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.2414, allocations: 0 / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005818/0.242, allocations: 213.7 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.242, allocations: 55.41 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2422, allocations: 184.2 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2423, allocations: 33.7 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2424, allocations: 204.2 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.2425, allocations: 71.42 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.2426, allocations: 41.72 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2427, allocations: 330.8 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2429, allocations: 63.95 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2431, allocations: 117.9 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.2435, allocations: 189.8 kB / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2435, allocations: 0 / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004839/0.2439, allocations: 249.2 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.244, allocations: 6.5 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.244, allocations: 4 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.244, allocations: 0 / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2443, allocations: 68.03 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2443, allocations: 4 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2444, allocations: 19.88 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.2445, allocations: 12 kB / 441.7 MB, free: 13.07 MB / 350.1 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 0.00014/0.2446, allocations: 141.7 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.2446, allocations: 19.84 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.2451, allocations: 193.9 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2451, allocations: 4 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2451, allocations: 4 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2451, allocations: 0 / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.2454, allocations: 213.2 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2454, allocations: 0 / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.2457, allocations: 55.91 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2457, allocations: 3.938 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2457, allocations: 4 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2457, allocations: 3.938 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2457, allocations: 0 / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.2463, allocations: 351.2 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.2463, allocations: 23.73 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2464, allocations: 8.062 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.2466, allocations: 12.11 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.2466, allocations: 15.97 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2466, allocations: 8 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2468, allocations: 139.4 kB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2468, allocations: 0 / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.2471, allocations: 79.78 kB / 443 MB, free: 11.75 MB / 350.1 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.0001284/0.2472, allocations: 107.2 kB / 443.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.2476, allocations: 158.5 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2476, allocations: 0 / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2478, allocations: 76.14 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2481, allocations: 23.94 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2494, allocations: 0.8272 MB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2496, allocations: 159.4 kB / 444.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.53e-05/0.2497, allocations: 17.64 kB / 444.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.2497, allocations: 19.44 kB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2497, allocations: 0 / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Templates: time 0.005592/0.2553, allocations: 2.174 MB / 446.5 MB, free: 8.176 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.7863823139923625]