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.00108/0.00108, allocations: 110 kB / 17.06 MB, free: 6.02 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.001149/0.001149, allocations: 191 kB / 18 MB, free: 5.109 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2578, allocations: 49.44 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003635/0.2615, allocations: 2.349 MB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2625, allocations: 0.5726 MB / 403.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.2627, allocations: 4 kB / 403.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2629, allocations: 35.66 kB / 403.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.2631, allocations: 75.33 kB / 403.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.2633, allocations: 59.86 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.2636, allocations: 254.8 kB / 404.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2638, allocations: 92.33 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.264, allocations: 99.59 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2642, allocations: 111.5 kB / 404.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.2642, allocations: 20 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-05/0.2642, allocations: 20 kB / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.2643, allocations: 43.84 kB / 404.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2644, allocations: 111.4 kB / 404.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.2647, allocations: 252.2 kB / 404.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2647, allocations: 0 / 404.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2647, allocations: 0 / 404.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.2647, allocations: 4 kB / 404.8 MB, free: 4.762 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.0007158/0.2655, allocations: 0.5107 MB / 405.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.2655, allocations: 11.89 kB / 405.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.2656, allocations: 24.66 kB / 405.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.2659, allocations: 241.2 kB / 405.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2659, allocations: 16.81 kB / 405.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.266, allocations: 16.38 kB / 405.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.2663, allocations: 222.1 kB / 405.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2664, allocations: 0 / 405.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2664, allocations: 8 kB / 405.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2664, allocations: 8 kB / 405.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.2667, allocations: 129.7 kB / 406 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.2677, allocations: 0.7015 MB / 406.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2679, allocations: 157.7 kB / 406.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2681, allocations: 72.83 kB / 406.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2681, allocations: 0 / 406.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2681, allocations: 34.56 kB / 406.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.2681, allocations: 4 kB / 406.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0015/0.2696, allocations: 0.88 MB / 407.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2697, allocations: 55.41 kB / 407.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2698, allocations: 179.2 kB / 408.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2699, allocations: 25.7 kB / 408.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.27, allocations: 148.2 kB / 408.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.27, allocations: 94.58 kB / 408.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.2701, allocations: 45.7 kB / 408.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2702, allocations: 326.8 kB / 408.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2703, allocations: 55.97 kB / 408.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2705, allocations: 108.2 kB / 408.8 MB, free: 404 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.2708, allocations: 164.2 kB / 409 MB, free: 224 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2708, allocations: 0 / 409 MB, free: 224 kB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004445/0.2712, allocations: 254 kB / 409.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2713, allocations: 4 kB / 409.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.2713, allocations: 0 / 409.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.2714, allocations: 36.83 kB / 409.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.2716, allocations: 48.05 kB / 409.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.2728, allocations: 1.489 MB / 410.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.273, allocations: 12.02 kB / 410.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.273, allocations: 8 kB / 410.8 MB, free: 14.22 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.0001148/0.2731, allocations: 133.8 kB / 411 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2732, allocations: 27.66 kB / 411 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.2733, allocations: 29.86 kB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2733, allocations: 3.938 kB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2733, allocations: 4.062 kB / 411 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2733, allocations: 4 kB / 411 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.2742, allocations: 0.6387 MB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2742, allocations: 0 / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2744, allocations: 47.91 kB / 411.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.2745, allocations: 36.91 kB / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2746, allocations: 4 kB / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.2757, allocations: 1.485 MB / 413.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2757, allocations: 0 / 413.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.2763, allocations: 415.6 kB / 413.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.2764, allocations: 88.92 kB / 413.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2764, allocations: 8 kB / 413.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2765, allocations: 4 kB / 413.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.2766, allocations: 23.95 kB / 413.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2766, allocations: 4 kB / 413.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.2767, allocations: 132.8 kB / 413.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.835e-06/0.2767, allocations: 7.938 kB / 413.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.2771, allocations: 59.94 kB / 414 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.0001394/0.2772, allocations: 111.2 kB / 414.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.2778, allocations: 286.5 kB / 414.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.2778, allocations: 4.25 kB / 414.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.2782, allocations: 222.5 kB / 414.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.2786, allocations: 43.91 kB / 414.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2798, allocations: 0.6653 MB / 415.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2801, allocations: 0.7482 MB / 416 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.2802, allocations: 13.95 kB / 416.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.2803, allocations: 19.44 kB / 416.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2803, allocations: 0 / 416.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of Templates: time 0.005635/0.2859, allocations: 2.409 MB / 418.5 MB, free: 6.215 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/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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches