Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.00147/0.00147, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001657/0.001657, allocations: 208.3 kB / 23.72 MB, free: 4.391 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Rotational.Examples.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2435, allocations: 53.36 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003769/0.2473, allocations: 2.25 MB / 433.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2484, allocations: 0.6232 MB / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2485, allocations: 7.938 kB / 434.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.2487, allocations: 39.59 kB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.2489, allocations: 75.33 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2492, allocations: 75.84 kB / 434.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.2495, allocations: 266.7 kB / 434.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.2497, allocations: 71.03 kB / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.2499, allocations: 115.6 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.2501, allocations: 103.5 kB / 435.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.2502, allocations: 20 kB / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.2502, allocations: 28 kB / 435.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.2503, allocations: 51.78 kB / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2504, allocations: 103.5 kB / 435.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.2508, allocations: 265.3 kB / 435.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2508, allocations: 0 / 435.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2508, allocations: 4 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2508, allocations: 3.938 kB / 435.6 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008121/0.2516, allocations: 465.5 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2516, allocations: 8.031 kB / 436.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.2518, allocations: 40.73 kB / 436.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.2521, allocations: 186.8 kB / 436.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2522, allocations: 16.81 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.2522, allocations: 28.33 kB / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2526, allocations: 195.6 kB / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2526, allocations: 0 / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2526, allocations: 12 kB / 436.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2526, allocations: 11.92 kB / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2529, allocations: 137.7 kB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009262/0.2539, allocations: 0.5058 MB / 437.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.2542, allocations: 173.2 kB / 437.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2544, allocations: 86.45 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2544, allocations: 4 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.2544, allocations: 38.55 kB / 437.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.2544, allocations: 0 / 437.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001928/0.2563, allocations: 0.9225 MB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.2564, allocations: 55.41 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2566, allocations: 167 kB / 438.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.2566, allocations: 37.64 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2567, allocations: 140.7 kB / 438.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.2568, allocations: 123 kB / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.2569, allocations: 49.7 kB / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.257, allocations: 334.8 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2572, allocations: 71.97 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.2574, allocations: 107.8 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.2577, allocations: 193 kB / 439.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2577, allocations: 0 / 439.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000512/0.2582, allocations: 287.3 kB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2582, allocations: 8.062 kB / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2582, allocations: 0 / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.2584, allocations: 52.7 kB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2587, allocations: 55.97 kB / 440.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.2602, allocations: 1.61 MB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2603, allocations: 12.03 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2604, allocations: 12.06 kB / 441.7 MB, free: 12.19 MB / 350.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.0001446/0.2605, allocations: 136.4 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.2606, allocations: 27.8 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.2606, allocations: 34.58 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2606, allocations: 4 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2606, allocations: 0 / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2606, allocations: 0 / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.2618, allocations: 0.6797 MB / 442.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2618, allocations: 0 / 442.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.262, allocations: 55.91 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.2621, allocations: 44.77 kB / 442.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.2622, allocations: 4 kB / 442.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.2634, allocations: 1.355 MB / 444.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2634, allocations: 144 / 444.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.2642, allocations: 494.8 kB / 444.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.2643, allocations: 27.86 kB / 444.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.2643, allocations: 12.03 kB / 444.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2644, allocations: 11.94 kB / 444.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.2645, allocations: 19.95 kB / 444.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2645, allocations: 12.06 kB / 444.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.2646, allocations: 124.5 kB / 444.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2646, allocations: 4 kB / 444.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.265, allocations: 64 kB / 444.8 MB, free: 8.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001216/0.2651, allocations: 103.2 kB / 444.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.2657, allocations: 338.6 kB / 445.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2657, allocations: 0 / 445.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.266, allocations: 230.5 kB / 445.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2664, allocations: 43.97 kB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2677, allocations: 0.7377 MB / 446.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.2679, allocations: 142.8 kB / 446.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.268, allocations: 22.28 kB / 446.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.268, allocations: 23.44 kB / 446.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.268, allocations: 0 / 446.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Templates: time 0.007022/0.275, allocations: 2.956 MB / 449.4 MB, free: 4.262 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.494820261374116]