Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.001821/0.001821, 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.002227/0.002227, allocations: 211.4 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.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") [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.002008/0.002008, allocations: 71.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2179, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003718/0.2216, allocations: 2.464 MB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2227, allocations: 0.6583 MB / 435.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2228, allocations: 15.94 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.223, allocations: 43.58 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2231, allocations: 63.36 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2234, allocations: 79.77 kB / 435.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.2237, allocations: 258.8 kB / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2239, allocations: 73.34 kB / 435.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.2241, allocations: 103.7 kB / 435.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2243, allocations: 111.5 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2244, allocations: 23.94 kB / 435.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.2244, allocations: 24 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.2245, allocations: 47.84 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2246, allocations: 119.4 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.2249, allocations: 264.4 kB / 436.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2249, allocations: 0 / 436.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2249, allocations: 0 / 436.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2249, allocations: 0 / 436.4 MB, free: 3.055 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008286/0.2258, allocations: 0.5299 MB / 436.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2258, allocations: 8.031 kB / 436.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.226, allocations: 48.72 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.2263, allocations: 244.5 kB / 437.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2264, allocations: 20.81 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.2264, allocations: 28.27 kB / 437.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.2268, allocations: 221.3 kB / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2269, allocations: 0 / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.2269, allocations: 8 kB / 437.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.2269, allocations: 4 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.2272, allocations: 155.8 kB / 437.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2285, allocations: 0.7794 MB / 438.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.2289, allocations: 193 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.2292, allocations: 96.42 kB / 438.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2292, allocations: 0 / 438.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2292, allocations: 42.69 kB / 438.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.2292, allocations: 4 kB / 438.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00176/0.231, allocations: 0.8746 MB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.231, allocations: 81.11 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2312, allocations: 183.2 kB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.2312, allocations: 33.7 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2313, allocations: 136.6 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.2314, allocations: 103.1 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.2315, allocations: 53.58 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2317, allocations: 330.8 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2319, allocations: 63.97 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.2321, allocations: 112.2 kB / 440.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.2324, allocations: 191.6 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2324, allocations: 0 / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004792/0.2329, allocations: 253.2 kB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2329, allocations: 4 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2329, allocations: 4 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2329, allocations: 0 / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2332, allocations: 59.91 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2332, allocations: 4 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2333, allocations: 12.09 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.2334, allocations: 15.98 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001315/0.2335, allocations: 133.8 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.2336, allocations: 27.8 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.2336, allocations: 25.88 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.2336, allocations: 7.922 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2336, allocations: 4 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.2337, allocations: 100.9 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.2338, allocations: 8 kB / 441.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2339, allocations: 11.98 kB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.234, allocations: 15.92 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007161/0.2347, allocations: 392 kB / 441.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007297/0.2354, allocations: 0.5447 MB / 442.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001788/0.2356, allocations: 90.58 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.2357, allocations: 136.2 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.2357, allocations: 0 / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.2364, allocations: 192.5 kB / 442.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 0.001362/0.2378, allocations: 1.098 MB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Templates: time 0.006325/0.2441, allocations: 2.623 MB / 446.6 MB, free: 8.363 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.25604387326166]