Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.First,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.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_trunk_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 121.6 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 204.7 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001034, allocations: 59.91 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2533, allocations: 50.54 MB / 409.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003261/0.2566, allocations: 2.366 MB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2576, allocations: 0.6466 MB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2578, allocations: 4 kB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.2579, allocations: 39.59 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.2581, allocations: 75.33 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.2583, allocations: 59.86 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2586, allocations: 282.6 kB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2588, allocations: 106.7 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.2591, allocations: 107.6 kB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.2592, allocations: 119.5 kB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2593, allocations: 20 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-05/0.2593, allocations: 28 kB / 413.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.2594, allocations: 51.78 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2595, allocations: 123.4 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.2598, allocations: 274.8 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2598, allocations: 0 / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2598, allocations: 0 / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2598, allocations: 0 / 413.5 MB, free: 13.34 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.0006991/0.2605, allocations: 0.526 MB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2606, allocations: 16.02 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2607, allocations: 36.75 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.2611, allocations: 248.7 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2611, allocations: 16.81 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.2612, allocations: 28.33 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.2615, allocations: 199.5 kB / 414.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2615, allocations: 0 / 414.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2615, allocations: 8 kB / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2616, allocations: 11.98 kB / 414.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.2618, allocations: 145.7 kB / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/0.2628, allocations: 0.6193 MB / 415.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.2631, allocations: 186.5 kB / 415.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.2632, allocations: 104.8 kB / 415.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2633, allocations: 4 kB / 415.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2633, allocations: 34.56 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.2633, allocations: 0 / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00187/0.2652, allocations: 1.073 MB / 416.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2652, allocations: 59.34 kB / 416.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.2654, allocations: 183.2 kB / 417 MB, free: 9.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2655, allocations: 29.7 kB / 417 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.2656, allocations: 144.8 kB / 417.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.2657, allocations: 119 kB / 417.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.2657, allocations: 53.7 kB / 417.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2659, allocations: 330.8 kB / 417.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.266, allocations: 67.97 kB / 417.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2662, allocations: 102.8 kB / 417.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.2665, allocations: 201.5 kB / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2665, allocations: 0 / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005098/0.2671, allocations: 295.2 kB / 418.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2671, allocations: 4 kB / 418.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2671, allocations: 4 kB / 418.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.2673, allocations: 40.91 kB / 418.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.2676, allocations: 55.91 kB / 418.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.2692, allocations: 1.752 MB / 420.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2693, allocations: 8 kB / 420.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.2694, allocations: 8 kB / 420.2 MB, free: 6.219 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.0001451/0.2695, allocations: 145.7 kB / 420.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.2696, allocations: 31.86 kB / 420.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.2696, allocations: 34.64 kB / 420.4 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2697, allocations: 0 / 420.4 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2697, allocations: 4 kB / 420.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2697, allocations: 3.984 kB / 420.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.2708, allocations: 0.7815 MB / 421.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2708, allocations: 0 / 421.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.2711, allocations: 63.84 kB / 421.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.2712, allocations: 28.84 kB / 421.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.2712, allocations: 8 kB / 421.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.2723, allocations: 1.493 MB / 422.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2723, allocations: 4.141 kB / 422.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.273, allocations: 490.7 kB / 423.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.2731, allocations: 96.97 kB / 423.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.2731, allocations: 8 kB / 423.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2732, allocations: 12.03 kB / 423.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.2733, allocations: 23.97 kB / 423.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.2733, allocations: 8 kB / 423.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2735, allocations: 132.3 kB / 423.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2735, allocations: 0 / 423.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.2739, allocations: 72 kB / 423.6 MB, free: 2.516 MB / 334.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.000143/0.274, allocations: 114.7 kB / 423.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006081/0.2746, allocations: 338.4 kB / 424 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2746, allocations: 0 / 424 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.275, allocations: 238.8 kB / 424.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2754, allocations: 51.41 kB / 424.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2766, allocations: 0.7284 MB / 425 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.277, allocations: 0.7563 MB / 425.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.2771, allocations: 26.28 kB / 425.8 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.2771, allocations: 19.44 kB / 425.8 MB, free: 172 kB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2772, allocations: 0 / 425.8 MB, free: 172 kB / 334.1 MB Notification: Performance of Templates: time 0.006657/0.2838, allocations: 2.713 MB / 428.5 MB, free: 13.47 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches