Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001237/0.001237, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.00131/0.00131, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 75.81 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2297, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004166/0.2339, allocations: 2.94 MB / 435 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.235, allocations: 0.7166 MB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2352, allocations: 4 kB / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.2354, allocations: 67.36 kB / 435.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2355, allocations: 87.19 kB / 435.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.2358, allocations: 87.83 kB / 436 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.2362, allocations: 382.4 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.2364, allocations: 109.4 kB / 436.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.2367, allocations: 147.5 kB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2369, allocations: 159.3 kB / 436.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.2369, allocations: 35.94 kB / 436.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-05/0.237, allocations: 32 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.2371, allocations: 71.77 kB / 436.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2372, allocations: 167.1 kB / 437 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.2376, allocations: 376 kB / 437.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2376, allocations: 8 kB / 437.4 MB, free: 2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2376, allocations: 0 / 437.4 MB, free: 2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2376, allocations: 0 / 437.4 MB, free: 2 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.0009862/0.2386, allocations: 0.6118 MB / 438 MB, free: 1.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2387, allocations: 12.03 kB / 438 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.2387, allocations: 36.7 kB / 438.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.2391, allocations: 272.3 kB / 438.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2391, allocations: 25.03 kB / 438.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.2392, allocations: 28.38 kB / 438.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.2397, allocations: 278.4 kB / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2397, allocations: 3.938 kB / 438.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.2397, allocations: 16 kB / 438.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2397, allocations: 8 kB / 438.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.2402, allocations: 206.5 kB / 438.9 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.2417, allocations: 0.9716 MB / 439.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.2421, allocations: 162.6 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.2422, allocations: 72.81 kB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.2422, allocations: 7.938 kB / 440.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2423, allocations: 34.56 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.2423, allocations: 0 / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005711/0.2429, allocations: 205.7 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2429, allocations: 63.39 kB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2431, allocations: 206.8 kB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2431, allocations: 29.7 kB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2433, allocations: 196.4 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.2433, allocations: 71.38 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.2434, allocations: 45.7 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2435, allocations: 330.8 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2437, allocations: 63.95 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2439, allocations: 121.9 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.2443, allocations: 177.9 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2443, allocations: 0 / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004957/0.2448, allocations: 257 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2448, allocations: 4 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2448, allocations: 0 / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2448, allocations: 4.125 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.2451, allocations: 71.91 kB / 442 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.2451, allocations: 7.984 kB / 442 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2453, allocations: 23.83 kB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2453, allocations: 8 kB / 442 MB, free: 13.14 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.0001371/0.2454, allocations: 141.8 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.2455, allocations: 27.78 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/0.2459, allocations: 183.4 kB / 442.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2459, allocations: 7.984 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2459, allocations: 0 / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.246, allocations: 100.9 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.246, allocations: 0 / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2462, allocations: 19.98 kB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.2463, allocations: 11.98 kB / 442.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007001/0.247, allocations: 292.7 kB / 442.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006547/0.2476, allocations: 436.4 kB / 443.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001722/0.2478, allocations: 71.23 kB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.2479, allocations: 156.5 kB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Backend: time 2.41e-07/0.2479, allocations: 0 / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.2485, allocations: 178.3 kB / 443.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of SimCode: time 0.001442/0.2499, allocations: 1.278 MB / 444.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.006097/0.256, allocations: 2.532 MB / 447.4 MB, free: 7.648 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.311662251129746]