Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 114.9 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 188.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 55.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2566, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003216/0.2599, allocations: 2.353 MB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.2608, allocations: 0.5765 MB / 404.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2609, allocations: 4 kB / 404.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2611, allocations: 39.66 kB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.2612, allocations: 75.33 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2614, allocations: 51.88 kB / 404.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.2617, allocations: 262.8 kB / 404.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.2619, allocations: 84.36 kB / 404.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.262, allocations: 103.6 kB / 404.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2622, allocations: 107.5 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2622, allocations: 16 kB / 405.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.127e-05/0.2622, allocations: 20 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.2623, allocations: 51.83 kB / 405.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2624, allocations: 115.4 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.2627, allocations: 244.2 kB / 405.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2627, allocations: 4 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2627, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2627, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.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.0006353/0.2633, allocations: 0.5068 MB / 406 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2634, allocations: 11.89 kB / 406 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.2634, allocations: 24.66 kB / 406 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.2637, allocations: 245.2 kB / 406.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2637, allocations: 12.81 kB / 406.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.2638, allocations: 20.38 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.2642, allocations: 222.1 kB / 406.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2642, allocations: 0 / 406.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2642, allocations: 12 kB / 406.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2642, allocations: 4 kB / 406.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.2645, allocations: 121.7 kB / 406.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.2654, allocations: 0.7093 MB / 407.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2657, allocations: 154.4 kB / 407.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.2658, allocations: 68.83 kB / 407.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2659, allocations: 0 / 407.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2659, allocations: 38.56 kB / 407.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.2659, allocations: 4 kB / 407.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0015/0.2674, allocations: 0.88 MB / 408.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2674, allocations: 55.41 kB / 408.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2676, allocations: 171.2 kB / 408.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2676, allocations: 29.7 kB / 408.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.2677, allocations: 148.2 kB / 408.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.2678, allocations: 98.47 kB / 409 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.2679, allocations: 45.7 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.268, allocations: 334.8 kB / 409.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2681, allocations: 51.97 kB / 409.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2682, allocations: 104.2 kB / 409.5 MB, free: 400 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.2685, allocations: 168.1 kB / 409.7 MB, free: 216 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2685, allocations: 4 kB / 409.7 MB, free: 212 kB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000418/0.2689, allocations: 246 kB / 409.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.269, allocations: 4 kB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.269, allocations: 4 kB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.2691, allocations: 36.83 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2694, allocations: 52.05 kB / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.2705, allocations: 1.477 MB / 411.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2706, allocations: 12.02 kB / 411.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2707, allocations: 16 kB / 411.5 MB, free: 14.21 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.0001191/0.2708, allocations: 137.8 kB / 411.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.2708, allocations: 19.72 kB / 411.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.2709, allocations: 21.88 kB / 411.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2709, allocations: 7.922 kB / 411.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2709, allocations: 8.062 kB / 411.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2709, allocations: 0 / 411.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.2718, allocations: 0.6387 MB / 412.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2718, allocations: 4 kB / 412.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.2721, allocations: 47.97 kB / 412.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.2722, allocations: 32.84 kB / 412.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2722, allocations: 8 kB / 412.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.2733, allocations: 1.485 MB / 413.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2733, allocations: 0 / 413.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.2739, allocations: 411.7 kB / 414.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.2739, allocations: 88.92 kB / 414.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.274, allocations: 8 kB / 414.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2741, allocations: 8 kB / 414.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.2742, allocations: 23.91 kB / 414.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2742, allocations: 4 kB / 414.5 MB, free: 11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.2743, allocations: 128.8 kB / 414.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2743, allocations: 7.938 kB / 414.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.2746, allocations: 56 kB / 414.6 MB, free: 10.81 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.0001556/0.2748, allocations: 119.1 kB / 414.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.2753, allocations: 282.5 kB / 415 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2753, allocations: 4.25 kB / 415 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.2756, allocations: 222.5 kB / 415.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.276, allocations: 50.72 kB / 415.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2771, allocations: 0.6982 MB / 416 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2774, allocations: 0.7443 MB / 416.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.2775, allocations: 19.44 kB / 416.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2775, allocations: 4 kB / 416.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of Templates: time 0.004999/0.2825, allocations: 3.443 MB / 420.2 MB, free: 5.133 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches