Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.00129/0.00129, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009948/0.0009948, allocations: 47.92 kB / 352 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.213, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003371/0.2164, allocations: 2.357 MB / 403.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2175, allocations: 0.5765 MB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.2176, allocations: 7.938 kB / 404.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2178, allocations: 31.66 kB / 404.4 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.218, allocations: 87.27 kB / 404.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2182, allocations: 55.92 kB / 404.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.2185, allocations: 266.7 kB / 404.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2187, allocations: 106.7 kB / 404.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2189, allocations: 111.6 kB / 405 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.219, allocations: 119.4 kB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.2191, allocations: 20 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.2191, allocations: 20 kB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.2192, allocations: 47.84 kB / 405.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2193, allocations: 119.4 kB / 405.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.2196, allocations: 264.2 kB / 405.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2196, allocations: 0 / 405.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2196, allocations: 0 / 405.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2196, allocations: 0 / 405.6 MB, free: 4.734 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007551/0.2204, allocations: 0.5301 MB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2204, allocations: 15.83 kB / 406.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.2205, allocations: 28.56 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.2208, allocations: 241.3 kB / 406.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2208, allocations: 12.81 kB / 406.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.2209, allocations: 24.38 kB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.2213, allocations: 211.5 kB / 406.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2213, allocations: 3.906 kB / 406.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.2213, allocations: 12 kB / 406.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2213, allocations: 8 kB / 406.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.2216, allocations: 133.7 kB / 406.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.2225, allocations: 0.6229 MB / 407.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.2228, allocations: 178.6 kB / 407.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.223, allocations: 104.8 kB / 407.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2231, allocations: 4 kB / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2231, allocations: 30.56 kB / 407.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 3.717e-06/0.2231, allocations: 4 kB / 407.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002063/0.2252, allocations: 1.064 MB / 408.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2252, allocations: 59.41 kB / 408.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.2254, allocations: 179.9 kB / 409 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2255, allocations: 29.7 kB / 409 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2256, allocations: 152.6 kB / 409.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.2257, allocations: 106.4 kB / 409.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.2258, allocations: 57.61 kB / 409.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2259, allocations: 330.8 kB / 409.7 MB, free: 328 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2261, allocations: 71.97 kB / 409.7 MB, free: 256 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2262, allocations: 111.6 kB / 409.8 MB, free: 136 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2265, allocations: 197.3 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2266, allocations: 0 / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005164/0.2271, allocations: 298.2 kB / 410.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2271, allocations: 8 kB / 410.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2271, allocations: 0 / 410.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.2273, allocations: 40.83 kB / 410.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2275, allocations: 59.91 kB / 410.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.229, allocations: 1.744 MB / 412.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2291, allocations: 15.92 kB / 412.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2291, allocations: 16.06 kB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.2292, allocations: 133.8 kB / 412.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.2293, allocations: 27.66 kB / 412.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.2294, allocations: 30.66 kB / 412.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2294, allocations: 3.984 kB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2294, allocations: 3.938 kB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.2294, allocations: 92.83 kB / 412.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.2295, allocations: 8 kB / 412.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2296, allocations: 15.98 kB / 412.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.2297, allocations: 19.97 kB / 412.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007378/0.2304, allocations: 377.5 kB / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006164/0.231, allocations: 0.5106 MB / 413.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001566/0.2312, allocations: 95.94 kB / 413.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.28e-05/0.2313, allocations: 127.2 kB / 413.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2313, allocations: 0 / 413.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007101/0.232, allocations: 356.7 kB / 414 MB, free: 11.77 MB / 334.1 MB Notification: Performance of SimCode: time 0.001219/0.2333, allocations: 1.149 MB / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.006211/0.2395, allocations: 2.916 MB / 418 MB, free: 7.664 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches