Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.002014/0.002014, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002566/0.002566, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.856e-05, allocations: 6.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004102/0.004131, allocations: 2.253 MB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.005429, allocations: 0.6193 MB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.005548, allocations: 7.938 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.005716, allocations: 39.58 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.005885, allocations: 75.28 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.006152, allocations: 71.83 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.006504, allocations: 262.7 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.006671, allocations: 60.53 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.00721, allocations: 167.5 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.007355, allocations: 67.8 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.007395, allocations: 20 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.007469, allocations: 31.92 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.007519, allocations: 43.83 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.007641, allocations: 83.77 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.008009, allocations: 251.2 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.008013, allocations: 4 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008014, allocations: 0 / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.00802, allocations: 0 / 276.3 MB, free: 13.77 MB / 266.7 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.0007744/0.008794, allocations: 449.6 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.008826, allocations: 8.031 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.009027, allocations: 52.78 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.009383, allocations: 182.1 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.009406, allocations: 20.88 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.00946, allocations: 24.36 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.009896, allocations: 215.3 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.009911, allocations: 4.125 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.009935, allocations: 8.375 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.009944, allocations: 7.938 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.01023, allocations: 125.9 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01131, allocations: 0.5963 MB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.01161, allocations: 138.4 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.01176, allocations: 64.83 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.01178, allocations: 4 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.01182, allocations: 30.56 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.01182, allocations: 0 / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001757/0.01357, allocations: 0.7516 MB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.01362, allocations: 51.41 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.01382, allocations: 167 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.01386, allocations: 33.7 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01398, allocations: 144.4 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.01407, allocations: 91.22 kB / 279.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.01415, allocations: 45.7 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.01434, allocations: 334.8 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.01449, allocations: 55.97 kB / 279.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.01466, allocations: 105.3 kB / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.01498, allocations: 162.8 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01498, allocations: 4 kB / 280.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005155/0.01549, allocations: 254.9 kB / 280.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01551, allocations: 15.97 kB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01552, allocations: 3.938 kB / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.0157, allocations: 36.83 kB / 280.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.01592, allocations: 43.98 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.01741, allocations: 1.354 MB / 281.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01753, allocations: 24.02 kB / 281.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01755, allocations: 4 kB / 281.9 MB, free: 7.84 MB / 266.7 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 (28): * Single equations (assignments): 27 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.0177, allocations: 137.8 kB / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.01776, allocations: 27.86 kB / 282.1 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.01781, allocations: 21.97 kB / 282.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01782, allocations: 4 kB / 282.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01782, allocations: 3.938 kB / 282.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01783, allocations: 3.984 kB / 282.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.01885, allocations: 0.5688 MB / 282.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01885, allocations: 0 / 282.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.01908, allocations: 43.97 kB / 282.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.01922, allocations: 40.7 kB / 282.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.01924, allocations: 4 kB / 282.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.02094, allocations: 1.362 MB / 284.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.02094, allocations: 4 kB / 284.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.02162, allocations: 411.1 kB / 284.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.02166, allocations: 19.86 kB / 284.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.02169, allocations: 7.938 kB / 284.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.02182, allocations: 16.09 kB / 284.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.02187, allocations: 15.97 kB / 284.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.02189, allocations: 8 kB / 284.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.02201, allocations: 123.2 kB / 284.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02201, allocations: 0 / 284.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000352/0.02236, allocations: 60 kB / 284.8 MB, free: 4.785 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.02251, allocations: 103.2 kB / 284.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.0231, allocations: 294.4 kB / 285.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02311, allocations: 0 / 285.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.02347, allocations: 214.4 kB / 285.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.02389, allocations: 31.98 kB / 285.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.02508, allocations: 0.5963 MB / 286 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.02524, allocations: 138.2 kB / 286.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.996e-05/0.02532, allocations: 21.95 kB / 286.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.02537, allocations: 16.5 kB / 286.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02537, allocations: 0 / 286.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of Templates: time 0.006696/0.03207, allocations: 2.478 MB / 288.6 MB, free: 0.8516 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.360859686974436]