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.001095/0.001095, allocations: 115 kB / 17.07 MB, free: 6 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.001157/0.001157, allocations: 192 kB / 18 MB, free: 5.082 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009476/0.0009476, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2622, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003606/0.2658, allocations: 2.353 MB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2668, allocations: 0.5804 MB / 403.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.267, allocations: 4 kB / 403.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2671, allocations: 35.66 kB / 403.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2673, allocations: 71.34 kB / 403.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2676, allocations: 55.86 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.2679, allocations: 258.8 kB / 404.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.2681, allocations: 88.34 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2683, allocations: 95.59 kB / 404.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.2685, allocations: 111.5 kB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.2685, allocations: 20 kB / 404.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.337e-05/0.2685, allocations: 20 kB / 404.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.2686, allocations: 47.78 kB / 404.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2687, allocations: 115.4 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.269, allocations: 252.2 kB / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.269, allocations: 0 / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.269, allocations: 0 / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.269, allocations: 4 kB / 404.8 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.000736/0.2698, allocations: 0.5068 MB / 405.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2698, allocations: 11.89 kB / 405.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.2699, allocations: 24.66 kB / 405.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.2702, allocations: 241.3 kB / 405.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2703, allocations: 16.81 kB / 405.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.2703, allocations: 20.38 kB / 405.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.2707, allocations: 218.1 kB / 405.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2707, allocations: 0 / 405.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.2708, allocations: 4 kB / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.2708, allocations: 12 kB / 405.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.271, allocations: 133.7 kB / 406 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2721, allocations: 0.6976 MB / 406.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.2724, allocations: 158.4 kB / 406.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2725, allocations: 72.83 kB / 406.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2725, allocations: 0 / 406.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2726, allocations: 34.56 kB / 406.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.2726, allocations: 0 / 406.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001574/0.2741, allocations: 0.8878 MB / 407.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2742, allocations: 51.41 kB / 407.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2744, allocations: 175.2 kB / 408 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2744, allocations: 29.7 kB / 408.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2745, allocations: 140.3 kB / 408.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.2746, allocations: 94.58 kB / 408.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.2747, allocations: 49.7 kB / 408.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2748, allocations: 330.8 kB / 408.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.275, allocations: 59.97 kB / 408.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2751, allocations: 100.2 kB / 408.8 MB, free: 404 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2754, allocations: 168.2 kB / 409 MB, free: 220 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2754, allocations: 0 / 409 MB, free: 220 kB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004163/0.2758, allocations: 250 kB / 409.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2758, allocations: 4.125 kB / 409.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2759, allocations: 4 kB / 409.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.276, allocations: 36.83 kB / 409.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2762, allocations: 47.92 kB / 409.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.2774, allocations: 1.481 MB / 410.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2775, allocations: 12.02 kB / 410.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.2776, allocations: 15.94 kB / 410.8 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.0001204/0.2777, allocations: 133.8 kB / 411 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.2777, allocations: 23.72 kB / 411 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.2778, allocations: 29.86 kB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2778, allocations: 3.938 kB / 411 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2778, allocations: 0 / 411 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2778, allocations: 4 kB / 411 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008941/0.2787, allocations: 0.6424 MB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2788, allocations: 4 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.279, allocations: 51.91 kB / 411.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.2791, allocations: 28.84 kB / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.2791, allocations: 8 kB / 411.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.2802, allocations: 1.489 MB / 413.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2802, allocations: 0 / 413.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.2808, allocations: 410 kB / 413.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.2808, allocations: 88.92 kB / 413.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.2809, allocations: 8 kB / 413.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.281, allocations: 8 kB / 413.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.2811, allocations: 23.95 kB / 413.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2811, allocations: 8 kB / 413.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.379e-05/0.2812, allocations: 128.8 kB / 413.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2812, allocations: 0 / 413.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000317/0.2815, allocations: 56 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.00013/0.2816, allocations: 115 kB / 414.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.2822, allocations: 292.1 kB / 414.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2823, allocations: 0 / 414.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.2826, allocations: 218.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.0004073/0.283, allocations: 58.53 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.001139/0.2841, allocations: 0.6612 MB / 415.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2845, allocations: 0.7482 MB / 416 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.2845, allocations: 17.95 kB / 416.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.2846, allocations: 23.44 kB / 416.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2846, allocations: 0 / 416.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of Templates: time 0.005783/0.2904, allocations: 2.404 MB / 418.5 MB, free: 6.211 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