Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2542, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003561/0.2578, allocations: 2.37 MB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.259, allocations: 0.6427 MB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2592, allocations: 4 kB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.2594, allocations: 35.59 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.2595, allocations: 75.33 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.2599, allocations: 75.84 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2602, allocations: 250.8 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2604, allocations: 88.28 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.2607, allocations: 107.6 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2608, allocations: 111.5 kB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.2609, allocations: 16 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.261, allocations: 28 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.261, allocations: 47.84 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2611, allocations: 115.4 kB / 413.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.2615, allocations: 251 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.2615, allocations: 7.984 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2615, allocations: 3.938 kB / 413.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2615, allocations: 0 / 413.4 MB, free: 13.37 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.0008189/0.2623, allocations: 0.5104 MB / 413.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2624, allocations: 12.03 kB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2626, allocations: 40.72 kB / 414 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.263, allocations: 244.6 kB / 414.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.263, allocations: 16.81 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.2631, allocations: 24.38 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.2634, allocations: 214.1 kB / 414.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2635, allocations: 3.953 kB / 414.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.2635, allocations: 12 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2635, allocations: 4 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.2638, allocations: 129.7 kB / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2648, allocations: 0.6978 MB / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.2651, allocations: 150.5 kB / 415.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2652, allocations: 75.06 kB / 415.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2653, allocations: 4 kB / 415.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2653, allocations: 30.56 kB / 415.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.2653, allocations: 0 / 415.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001533/0.2668, allocations: 0.9045 MB / 416.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2669, allocations: 55.41 kB / 416.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.2671, allocations: 177.2 kB / 416.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2671, allocations: 29.7 kB / 416.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.2672, allocations: 148.4 kB / 416.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.2673, allocations: 91.22 kB / 417 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.2674, allocations: 45.7 kB / 417 MB, free: 9.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2675, allocations: 326.8 kB / 417.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2676, allocations: 55.97 kB / 417.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2678, allocations: 104.2 kB / 417.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.2681, allocations: 164.2 kB / 417.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2681, allocations: 0 / 417.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004493/0.2685, allocations: 258.1 kB / 417.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2685, allocations: 4 kB / 417.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2686, allocations: 0 / 417.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.2688, allocations: 40.83 kB / 418 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.269, allocations: 47.91 kB / 418 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.2704, allocations: 1.489 MB / 419.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2705, allocations: 8.031 kB / 419.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2705, allocations: 8 kB / 419.5 MB, free: 6.801 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 (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.0001426/0.2707, allocations: 141.8 kB / 419.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.2707, allocations: 23.86 kB / 419.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.2708, allocations: 25.86 kB / 419.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2708, allocations: 3.938 kB / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2708, allocations: 0 / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2708, allocations: 4 kB / 419.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.2717, allocations: 0.6559 MB / 420.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2718, allocations: 7.938 kB / 420.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.272, allocations: 43.95 kB / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.2721, allocations: 32.83 kB / 420.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2721, allocations: 8 kB / 420.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.2732, allocations: 1.492 MB / 421.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2732, allocations: 0 / 421.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.2738, allocations: 394.2 kB / 422.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2739, allocations: 96.97 kB / 422.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.2739, allocations: 8.062 kB / 422.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.274, allocations: 12.03 kB / 422.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.2741, allocations: 23.86 kB / 422.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2741, allocations: 8 kB / 422.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.2742, allocations: 132.1 kB / 422.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2742, allocations: 0 / 422.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.2745, allocations: 60 kB / 422.7 MB, free: 3.379 MB / 334.1 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.0001085/0.2747, allocations: 107.2 kB / 422.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.2752, allocations: 290.6 kB / 423 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2752, allocations: 0 / 423 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.2755, allocations: 210.9 kB / 423.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.2759, allocations: 44.14 kB / 423.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2769, allocations: 0.6826 MB / 424 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2772, allocations: 0.7443 MB / 424.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.2773, allocations: 25.88 kB / 424.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2773, allocations: 19.44 kB / 424.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2773, allocations: 0 / 424.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of Templates: time 0.005127/0.2825, allocations: 2.407 MB / 427.2 MB, free: 14.77 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches