Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001301/0.001301, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001388/0.001388, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.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_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_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2182, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003705/0.2219, allocations: 2.31 MB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.223, allocations: 0.6271 MB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.2231, allocations: 7.938 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2233, allocations: 39.59 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2234, allocations: 71.34 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.2237, allocations: 75.84 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.224, allocations: 258.9 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.2242, allocations: 73.3 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2244, allocations: 111.6 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2245, allocations: 107.5 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.2245, allocations: 20 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.2246, allocations: 20 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.2247, allocations: 59.77 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.2248, allocations: 95.59 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.2251, allocations: 265.9 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2251, allocations: 0 / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2251, allocations: 0 / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.81e-06/0.2251, allocations: 0 / 436.4 MB, free: 2.602 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.0007842/0.2259, allocations: 469.4 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2259, allocations: 12.03 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.2262, allocations: 48.72 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.2265, allocations: 183 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2265, allocations: 12.81 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.2265, allocations: 24.33 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.227, allocations: 225.2 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.227, allocations: 0 / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.227, allocations: 16 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.227, allocations: 4 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.2274, allocations: 146.3 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2285, allocations: 0.662 MB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.2289, allocations: 193 kB / 438.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.2291, allocations: 97.66 kB / 438.5 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2292, allocations: 4 kB / 438.5 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2292, allocations: 42.5 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.2292, allocations: 0 / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00165/0.2308, allocations: 0.7167 MB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.2309, allocations: 81.11 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2311, allocations: 163.3 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.2311, allocations: 29.7 kB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2312, allocations: 148.6 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.2313, allocations: 95.16 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.2313, allocations: 53.69 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2315, allocations: 326.8 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2317, allocations: 63.97 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.2318, allocations: 117.3 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.2322, allocations: 184.3 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2322, allocations: 0 / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000462/0.2327, allocations: 256 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2327, allocations: 11.06 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2327, allocations: 0 / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2327, allocations: 4 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.233, allocations: 59.91 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.233, allocations: 4 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2331, allocations: 15.88 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.2332, allocations: 15.98 kB / 440.9 MB, free: 13.9 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.0001536/0.2333, allocations: 133.8 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.2334, allocations: 31.8 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.2334, allocations: 29.81 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2335, allocations: 3.984 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2335, allocations: 0 / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.2335, allocations: 15.91 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.2335, allocations: 4 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.2337, allocations: 11.98 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2338, allocations: 19.91 kB / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000719/0.2345, allocations: 396 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007803/0.2352, allocations: 0.5407 MB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001817/0.2354, allocations: 80 kB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.2355, allocations: 127.2 kB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2355, allocations: 0 / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.2362, allocations: 198.2 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 0.001278/0.2374, allocations: 1.085 MB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Templates: time 0.006638/0.2441, allocations: 2.946 MB / 446.5 MB, free: 8.238 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.222793155000545]