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.001098/0.001098, allocations: 114.1 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 60.08 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2608, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003377/0.2642, allocations: 2.367 MB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2653, allocations: 0.6427 MB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2655, allocations: 4 kB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.2656, allocations: 43.58 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2658, allocations: 75.33 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.2661, allocations: 71.84 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.2664, allocations: 274.7 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.2666, allocations: 106.7 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2668, allocations: 111.6 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.267, allocations: 111.5 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.267, allocations: 23.94 kB / 413 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.2671, allocations: 35.94 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.2671, allocations: 51.83 kB / 413.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2673, allocations: 123.4 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.2676, allocations: 260.2 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2676, allocations: 0 / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2676, allocations: 7.938 kB / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2676, allocations: 0 / 413.5 MB, free: 13.29 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.0007515/0.2684, allocations: 0.5224 MB / 414 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2684, allocations: 12.03 kB / 414 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.2686, allocations: 32.64 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.2689, allocations: 248.6 kB / 414.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.269, allocations: 24.8 kB / 414.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.269, allocations: 24.28 kB / 414.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.2694, allocations: 199.5 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2694, allocations: 0 / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2694, allocations: 16 kB / 414.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2694, allocations: 4 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.2697, allocations: 141.6 kB / 414.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/0.2706, allocations: 0.619 MB / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.2709, allocations: 182.5 kB / 415.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2711, allocations: 100.8 kB / 415.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2711, allocations: 3.984 kB / 415.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2711, allocations: 34.56 kB / 415.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.2711, allocations: 0 / 415.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00189/0.273, allocations: 1.065 MB / 416.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2731, allocations: 59.34 kB / 416.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.2733, allocations: 183.2 kB / 417 MB, free: 9.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2733, allocations: 29.7 kB / 417 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.2734, allocations: 144.7 kB / 417.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.2735, allocations: 118.3 kB / 417.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.2735, allocations: 53.7 kB / 417.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2737, allocations: 330.8 kB / 417.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2738, allocations: 71.97 kB / 417.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.274, allocations: 98.81 kB / 417.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.2743, allocations: 197.5 kB / 418 MB, free: 8.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2743, allocations: 0 / 418 MB, free: 8.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004812/0.2748, allocations: 295.1 kB / 418.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2748, allocations: 8 kB / 418.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2748, allocations: 4.062 kB / 418.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.275, allocations: 40.83 kB / 418.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2753, allocations: 59.84 kB / 418.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.2767, allocations: 1.752 MB / 420.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2769, allocations: 8.031 kB / 420.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2769, allocations: 12 kB / 420.1 MB, free: 6.188 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.000136/0.277, allocations: 141.8 kB / 420.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.2771, allocations: 27.66 kB / 420.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.2772, allocations: 34.64 kB / 420.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2772, allocations: 4 kB / 420.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2772, allocations: 0 / 420.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2772, allocations: 0 / 420.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2782, allocations: 0.7891 MB / 421.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2783, allocations: 0 / 421.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2785, allocations: 59.91 kB / 421.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.2786, allocations: 36.83 kB / 421.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.2787, allocations: 4.188 kB / 421.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.2798, allocations: 1.489 MB / 422.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2798, allocations: 12.08 kB / 422.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.2805, allocations: 474.4 kB / 423.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.2805, allocations: 100.8 kB / 423.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2806, allocations: 12 kB / 423.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2807, allocations: 8 kB / 423.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.2808, allocations: 16.02 kB / 423.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2808, allocations: 15.98 kB / 423.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2809, allocations: 140.2 kB / 423.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2809, allocations: 0 / 423.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.2813, allocations: 64 kB / 423.6 MB, free: 2.496 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.0001189/0.2814, allocations: 107.2 kB / 423.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.282, allocations: 338.4 kB / 424 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2821, allocations: 0 / 424 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.2824, allocations: 246.8 kB / 424.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2828, allocations: 43.91 kB / 424.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.284, allocations: 0.7235 MB / 425 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2843, allocations: 0.7603 MB / 425.8 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.521e-05/0.2844, allocations: 22.28 kB / 425.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.2844, allocations: 27.38 kB / 425.8 MB, free: 152 kB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2844, allocations: 0 / 425.8 MB, free: 152 kB / 334.1 MB Notification: Performance of Templates: time 0.005837/0.2903, allocations: 2.713 MB / 428.5 MB, free: 13.46 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