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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009377/0.0009376, allocations: 176.2 kB / 17.39 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007625, allocations: 102.6 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.199, allocations: 50.39 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0895/0.2885, allocations: 78.45 MB / 481.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.2888, allocations: 76.89 kB / 481.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01092/0.2997, allocations: 4.16 MB / 485.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2997, allocations: 0 / 485.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.2998, allocations: 4 kB / 485.4 MB, free: 13.66 MB / 362.7 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.0006199/0.3004, allocations: 495.2 kB / 485.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3004, allocations: 8.031 kB / 485.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.3005, allocations: 32.59 kB / 486 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3008, allocations: 242.2 kB / 486.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3008, allocations: 16.81 kB / 486.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.3009, allocations: 20.38 kB / 486.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.3012, allocations: 195.8 kB / 486.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3012, allocations: 8.188 kB / 486.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.3013, allocations: 7.938 kB / 486.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3013, allocations: 8 kB / 486.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.3016, allocations: 141.7 kB / 486.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.3025, allocations: 0.6268 MB / 487.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.3028, allocations: 194.4 kB / 487.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.303, allocations: 100.8 kB / 487.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.303, allocations: 4 kB / 487.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.303, allocations: 34.55 kB / 487.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.303, allocations: 0 / 487.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001779/0.3048, allocations: 1.072 MB / 488.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3049, allocations: 51.41 kB / 488.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.305, allocations: 187.9 kB / 488.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3051, allocations: 29.7 kB / 488.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.3051, allocations: 136.7 kB / 489 MB, free: 9.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.3052, allocations: 118.3 kB / 489.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.3052, allocations: 4 kB / 489.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3054, allocations: 330.8 kB / 489.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3055, allocations: 75.97 kB / 489.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3057, allocations: 108 kB / 489.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.306, allocations: 193.3 kB / 489.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.306, allocations: 0 / 489.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004832/0.3065, allocations: 306.4 kB / 490.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3065, allocations: 4 kB / 490.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3065, allocations: 0 / 490.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.3067, allocations: 44.89 kB / 490.2 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3069, allocations: 59.91 kB / 490.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3083, allocations: 1.573 MB / 491.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3084, allocations: 12.03 kB / 491.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3085, allocations: 11.94 kB / 491.8 MB, free: 6.812 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.3086, allocations: 141.8 kB / 491.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3087, allocations: 23.72 kB / 492 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.3087, allocations: 30.72 kB / 492 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.3088, allocations: 7.938 kB / 492 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3088, allocations: 3.938 kB / 492 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3088, allocations: 3.984 kB / 492 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3099, allocations: 0.7781 MB / 492.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3099, allocations: 0 / 492.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.3102, allocations: 59.91 kB / 492.9 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.3103, allocations: 44.86 kB / 492.9 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.3104, allocations: 11.98 kB / 492.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.3114, allocations: 1.378 MB / 494.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3114, allocations: 0 / 494.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.3121, allocations: 494.5 kB / 494.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3121, allocations: 88.92 kB / 494.9 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3122, allocations: 8 kB / 494.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3123, allocations: 12.03 kB / 494.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.3124, allocations: 27.91 kB / 494.9 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3124, allocations: 4 kB / 494.9 MB, free: 3.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.3125, allocations: 139.5 kB / 495 MB, free: 3.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3125, allocations: 0 / 495 MB, free: 3.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.3129, allocations: 71.94 kB / 495.1 MB, free: 3.234 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.3131, allocations: 115.2 kB / 495.2 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.3136, allocations: 342.5 kB / 495.6 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3137, allocations: 4 kB / 495.6 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.314, allocations: 239.5 kB / 495.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3145, allocations: 36.97 kB / 495.8 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3157, allocations: 0.8789 MB / 496.7 MB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.316, allocations: 0.7525 MB / 497.5 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.464e-05/0.3161, allocations: 22.28 kB / 497.5 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.3162, allocations: 23.44 kB / 497.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3162, allocations: 0 / 497.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of Templates: time 0.005561/0.3218, allocations: 2.439 MB / 500 MB, free: 14.32 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches