Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.First,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.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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 114.9 kB / 17.74 MB, free: 5.328 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.001587/0.001587, allocations: 188.5 kB / 18.67 MB, free: 4.402 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2729, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003892/0.2768, allocations: 2.356 MB / 403.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.278, allocations: 0.5804 MB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.2782, allocations: 7.938 kB / 404.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.2784, allocations: 35.66 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.2787, allocations: 79.27 kB / 404.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.2789, allocations: 51.94 kB / 404.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.2793, allocations: 270.7 kB / 404.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.2795, allocations: 102.8 kB / 404.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.2797, allocations: 111.6 kB / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2799, allocations: 115.5 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.2799, allocations: 23.94 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.28, allocations: 23.94 kB / 405.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.28, allocations: 51.83 kB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2801, allocations: 119.4 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.2805, allocations: 260.2 kB / 405.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2805, allocations: 0 / 405.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2805, allocations: 0 / 405.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2805, allocations: 4 kB / 405.6 MB, free: 4.699 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008053/0.2813, allocations: 0.5224 MB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2814, allocations: 15.83 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.2815, allocations: 28.56 kB / 406.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.2819, allocations: 245.3 kB / 406.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2819, allocations: 12.81 kB / 406.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.282, allocations: 28.38 kB / 406.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.2824, allocations: 203.5 kB / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.2824, allocations: 3.906 kB / 406.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.2824, allocations: 12 kB / 406.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2824, allocations: 7.984 kB / 406.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.2827, allocations: 137.7 kB / 406.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2838, allocations: 0.619 MB / 407.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2841, allocations: 181.7 kB / 407.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2843, allocations: 100.8 kB / 407.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2843, allocations: 8 kB / 407.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2843, allocations: 30.56 kB / 407.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.334e-06/0.2844, allocations: 4 kB / 407.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001979/0.2863, allocations: 1.06 MB / 408.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.2864, allocations: 67.34 kB / 408.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2866, allocations: 176 kB / 409 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2867, allocations: 29.7 kB / 409 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.2868, allocations: 144.6 kB / 409.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.2868, allocations: 114.4 kB / 409.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.2869, allocations: 57.61 kB / 409.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2871, allocations: 330.8 kB / 409.7 MB, free: 300 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2872, allocations: 75.97 kB / 409.7 MB, free: 224 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.2874, allocations: 107.6 kB / 409.8 MB, free: 108 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.2877, allocations: 197.3 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2877, allocations: 0 / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005151/0.2883, allocations: 298.2 kB / 410.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2883, allocations: 8 kB / 410.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2883, allocations: 0 / 410.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.2885, allocations: 40.83 kB / 410.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.2888, allocations: 59.91 kB / 410.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.2904, allocations: 1.744 MB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2906, allocations: 20.02 kB / 412.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2906, allocations: 12 kB / 412.2 MB, free: 13.58 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.0001533/0.2908, allocations: 133.8 kB / 412.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.2908, allocations: 27.66 kB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.2909, allocations: 30.66 kB / 412.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.2909, allocations: 7.984 kB / 412.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2909, allocations: 0 / 412.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2909, allocations: 0 / 412.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.292, allocations: 0.7776 MB / 413.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2921, allocations: 0 / 413.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.2923, allocations: 59.91 kB / 413.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.2925, allocations: 40.92 kB / 413.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2925, allocations: 4 kB / 413.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2937, allocations: 1.485 MB / 414.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.2937, allocations: 4.031 kB / 414.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.2944, allocations: 478.5 kB / 415.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.2945, allocations: 104.9 kB / 415.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2946, allocations: 8 kB / 415.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2947, allocations: 4 kB / 415.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.2948, allocations: 27.97 kB / 415.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2948, allocations: 8 kB / 415.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.295, allocations: 135.2 kB / 415.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.295, allocations: 0 / 415.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.2954, allocations: 64 kB / 415.6 MB, free: 9.918 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.0001615/0.2955, allocations: 120.4 kB / 415.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.2962, allocations: 335.6 kB / 416 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2962, allocations: 4.125 kB / 416 MB, free: 9.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.2966, allocations: 242.4 kB / 416.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.297, allocations: 46.23 kB / 416.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2983, allocations: 0.7505 MB / 417.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.2988, allocations: 0.7525 MB / 417.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.2988, allocations: 27.38 kB / 417.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2988, allocations: 0 / 417.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of Templates: time 0.006404/0.3052, allocations: 3.894 MB / 421.7 MB, free: 3.664 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches