Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 107 kB / 17.74 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 194.5 kB / 18.67 MB, free: 4.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009941/0.0009941, allocations: 43.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.212, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003607/0.2156, allocations: 2.42 MB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2167, allocations: 0.5842 MB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.2169, allocations: 4 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.217, allocations: 39.64 kB / 404.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2172, allocations: 63.36 kB / 404.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2174, allocations: 67.84 kB / 404.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.2177, allocations: 246.9 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2179, allocations: 105.3 kB / 404.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.2181, allocations: 99.58 kB / 405 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2183, allocations: 103.5 kB / 405.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.2183, allocations: 24 kB / 405.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.97e-05/0.2184, allocations: 20 kB / 405.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.2184, allocations: 55.81 kB / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2185, allocations: 111.4 kB / 405.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.2188, allocations: 256.2 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2188, allocations: 0 / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2188, allocations: 0 / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2188, allocations: 0 / 405.6 MB, free: 4.68 MB / 318.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.0007443/0.2196, allocations: 0.5107 MB / 406.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2196, allocations: 19.83 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.2197, allocations: 28.56 kB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.22, allocations: 245.2 kB / 406.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.22, allocations: 12.81 kB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2201, allocations: 20.38 kB / 406.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.2205, allocations: 221.3 kB / 406.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2205, allocations: 4 kB / 406.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2205, allocations: 12 kB / 406.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2205, allocations: 4 kB / 406.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.2209, allocations: 151.8 kB / 406.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.222, allocations: 0.7792 MB / 407.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.2224, allocations: 201 kB / 407.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.2226, allocations: 113.7 kB / 407.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2227, allocations: 4 kB / 407.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2227, allocations: 34.69 kB / 407.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.2227, allocations: 0 / 407.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001526/0.2242, allocations: 0.858 MB / 408.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2243, allocations: 85.05 kB / 408.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2244, allocations: 174.5 kB / 409 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.2245, allocations: 33.64 kB / 409.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.2246, allocations: 144.4 kB / 409.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.2246, allocations: 86.66 kB / 409.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.2247, allocations: 57.69 kB / 409.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2248, allocations: 330.8 kB / 409.7 MB, free: 248 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.225, allocations: 63.97 kB / 409.7 MB, free: 184 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.2251, allocations: 112.8 kB / 409.8 MB, free: 56 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2255, allocations: 188 kB / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2255, allocations: 0 / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004205/0.2259, allocations: 248 kB / 410.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2259, allocations: 8 kB / 410.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.226, allocations: 0 / 410.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.226, allocations: 4 kB / 410.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2262, allocations: 63.91 kB / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2263, allocations: 0 / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.2264, allocations: 19.89 kB / 410.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2264, allocations: 4 kB / 410.4 MB, free: 15.51 MB / 334.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.0001121/0.2265, allocations: 149.8 kB / 410.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.2266, allocations: 19.75 kB / 410.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.2267, allocations: 29.86 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2267, allocations: 4 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2267, allocations: 0 / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.2267, allocations: 92.92 kB / 410.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.2268, allocations: 7.984 kB / 410.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.227, allocations: 8 kB / 410.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.227, allocations: 23.91 kB / 410.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006503/0.2277, allocations: 399.9 kB / 411.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006459/0.2283, allocations: 0.5445 MB / 411.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001697/0.2285, allocations: 91.27 kB / 411.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.2286, allocations: 136.3 kB / 411.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.2286, allocations: 0 / 411.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.2292, allocations: 190.3 kB / 412 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 0.001133/0.2304, allocations: 1.075 MB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Templates: time 0.005498/0.2359, allocations: 2.474 MB / 415.6 MB, free: 10.19 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches