Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009615/0.0009616, allocations: 175.3 kB / 17.4 MB, free: 4.418 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.282/1.282, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.0007804/0.0007804, allocations: 108 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 11.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2755, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09247/0.368, allocations: 77.27 MB / 480 MB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3682, allocations: 71.95 kB / 480.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01233/0.3806, allocations: 4.69 MB / 484.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3806, allocations: 0 / 484.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.3806, allocations: 8 kB / 484.8 MB, free: 14.28 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000702/0.3813, allocations: 0.5148 MB / 485.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3814, allocations: 8.031 kB / 485.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.3815, allocations: 32.56 kB / 485.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3817, allocations: 255.8 kB / 485.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3818, allocations: 24.88 kB / 485.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.3818, allocations: 32.28 kB / 485.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.3822, allocations: 247.1 kB / 485.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3822, allocations: 4.188 kB / 485.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.3823, allocations: 11.94 kB / 485.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.3823, allocations: 8 kB / 485.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.3826, allocations: 175.8 kB / 486.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3836, allocations: 0.7575 MB / 486.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.384, allocations: 265 kB / 487.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.3842, allocations: 129 kB / 487.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3842, allocations: 7.906 kB / 487.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3843, allocations: 34.75 kB / 487.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.3843, allocations: 0 / 487.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002768/0.387, allocations: 1.697 MB / 489 MB, free: 9.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3871, allocations: 93.11 kB / 489.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3873, allocations: 174.5 kB / 489.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3873, allocations: 33.7 kB / 489.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.3874, allocations: 144.6 kB / 489.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.3876, allocations: 173.5 kB / 489.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.3876, allocations: 8 kB / 489.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3877, allocations: 342.8 kB / 489.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3879, allocations: 97.09 kB / 490 MB, free: 8.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3882, allocations: 157.5 kB / 490.2 MB, free: 8.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.3886, allocations: 275.8 kB / 490.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3886, allocations: 0 / 490.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000549/0.3892, allocations: 373.7 kB / 490.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3892, allocations: 8.062 kB / 490.8 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3892, allocations: 4 kB / 490.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3892, allocations: 0 / 490.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.3896, allocations: 103.9 kB / 490.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3897, allocations: 0 / 490.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3898, allocations: 8 kB / 490.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3898, allocations: 16 kB / 490.9 MB, free: 7.695 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.39, allocations: 149.7 kB / 491.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.3901, allocations: 35.66 kB / 491.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.3902, allocations: 41.86 kB / 491.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3902, allocations: 4 kB / 491.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3902, allocations: 0 / 491.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3902, allocations: 0 / 491.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.3915, allocations: 0.9583 MB / 492.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3916, allocations: 7.875 kB / 492.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.392, allocations: 99.89 kB / 492.2 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.392, allocations: 3.938 kB / 492.2 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.392, allocations: 12 kB / 492.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.392, allocations: 12 kB / 492.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.392, allocations: 0 / 492.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.3928, allocations: 0.6394 MB / 492.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.3929, allocations: 100.7 kB / 493 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.393, allocations: 15.98 kB / 493 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3932, allocations: 8 kB / 493 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3932, allocations: 31.91 kB / 493 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.3932, allocations: 12 kB / 493.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3934, allocations: 137.5 kB / 493.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3934, allocations: 0 / 493.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003986/0.3938, allocations: 84 kB / 493.3 MB, free: 5.242 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_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 (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.394, allocations: 111.2 kB / 493.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.3944, allocations: 286.8 kB / 493.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3945, allocations: 0 / 493.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3947, allocations: 162.5 kB / 493.8 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.3953, allocations: 63.14 kB / 493.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3969, allocations: 1.207 MB / 495.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.3974, allocations: 0.7767 MB / 495.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.3975, allocations: 30.97 kB / 495.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.3976, allocations: 31.38 kB / 495.9 MB, free: 2.516 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3976, allocations: 0 / 495.9 MB, free: 2.516 MB / 362.7 MB Notification: Performance of Templates: time 0.006281/0.4039, allocations: 2.804 MB / 498.7 MB, free: 15.73 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches