Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009893/0.0009893, allocations: 199.2 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008587/0.0008586, allocations: 105.2 kB / 297.4 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003193, allocations: 4 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.249, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09436/0.3434, allocations: 77.97 MB / 486.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.3437, allocations: 67.97 kB / 486.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.3561, allocations: 4.688 MB / 491.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.858e-06/0.3561, allocations: 0 / 491.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3561, allocations: 11.94 kB / 491.4 MB, free: 8.883 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.0006275/0.3568, allocations: 0.5108 MB / 491.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3568, allocations: 8.031 kB / 491.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.3569, allocations: 32.56 kB / 491.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3571, allocations: 235.8 kB / 492.2 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3571, allocations: 24.88 kB / 492.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.3572, allocations: 28.28 kB / 492.2 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.3576, allocations: 247.1 kB / 492.5 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3576, allocations: 12.19 kB / 492.5 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3577, allocations: 11.94 kB / 492.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3577, allocations: 8 kB / 492.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.358, allocations: 175.8 kB / 492.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.359, allocations: 0.7575 MB / 493.4 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.3594, allocations: 273 kB / 493.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.3596, allocations: 122.2 kB / 493.8 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3596, allocations: 7.906 kB / 493.8 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3597, allocations: 38.73 kB / 493.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.3597, allocations: 4 kB / 493.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002551/0.3622, allocations: 1.706 MB / 495.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3623, allocations: 89.09 kB / 495.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3625, allocations: 183.2 kB / 495.8 MB, free: 4.055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3625, allocations: 33.7 kB / 495.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.3626, allocations: 148.6 kB / 496 MB, free: 3.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3627, allocations: 169.5 kB / 496.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.3627, allocations: 4 kB / 496.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3628, allocations: 342.8 kB / 496.5 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.363, allocations: 101.1 kB / 496.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3632, allocations: 157.4 kB / 496.8 MB, free: 3.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.3636, allocations: 278.2 kB / 497 MB, free: 2.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3636, allocations: 0 / 497 MB, free: 2.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005077/0.3642, allocations: 369.8 kB / 497.4 MB, free: 2.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3642, allocations: 4 kB / 497.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3642, allocations: 4 kB / 497.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3642, allocations: 0 / 497.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.3646, allocations: 99.89 kB / 497.5 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.3646, allocations: 3.938 kB / 497.5 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3648, allocations: 16.06 kB / 497.5 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3648, allocations: 16 kB / 497.5 MB, free: 2.293 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.0001392/0.3649, allocations: 145.8 kB / 497.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.365, allocations: 31.66 kB / 497.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.3651, allocations: 41.86 kB / 497.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3651, allocations: 7.938 kB / 497.8 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3651, allocations: 0 / 497.8 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3651, allocations: 3.984 kB / 497.8 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.3664, allocations: 0.9515 MB / 498.7 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3664, allocations: 3.938 kB / 498.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.3668, allocations: 99.83 kB / 498.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3669, allocations: 4 kB / 498.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3669, allocations: 12 kB / 498.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3669, allocations: 4 kB / 498.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3669, allocations: 0 / 498.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.3676, allocations: 0.6441 MB / 499.5 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.3677, allocations: 104.7 kB / 499.6 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3677, allocations: 12 kB / 499.6 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3679, allocations: 4 kB / 499.6 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3679, allocations: 31.95 kB / 499.6 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.368, allocations: 15.94 kB / 499.7 MB, free: 72 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3681, allocations: 132.3 kB / 499.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3681, allocations: 4 kB / 499.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.3685, allocations: 88 kB / 499.9 MB, free: 15.85 MB / 378.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.000134/0.3686, allocations: 103.2 kB / 500 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.369, allocations: 286.8 kB / 0.4885 GB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3691, allocations: 3.938 kB / 0.4885 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3693, allocations: 163.5 kB / 0.4887 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.3699, allocations: 67.69 kB / 0.4888 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3714, allocations: 1.251 MB / 0.49 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3717, allocations: 0.7767 MB / 0.4907 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.3718, allocations: 27.44 kB / 0.4908 GB, free: 13.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3718, allocations: 0 / 0.4908 GB, free: 13.1 MB / 378.7 MB Notification: Performance of Templates: time 0.005808/0.3776, allocations: 3.615 MB / 0.4943 GB, free: 9.496 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches