Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008422/0.0008422, allocations: 107.5 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 8 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1844, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08324/0.2677, allocations: 78.05 MB / 487.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.2679, allocations: 69.22 kB / 487.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.2791, allocations: 4.689 MB / 492.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2791, allocations: 3.938 kB / 492.2 MB, free: 7.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.2792, allocations: 4 kB / 492.2 MB, free: 7.812 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.0006446/0.2798, allocations: 0.5147 MB / 492.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2799, allocations: 8.031 kB / 492.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.2799, allocations: 35.62 kB / 492.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.2802, allocations: 234.7 kB / 493 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2802, allocations: 28.45 kB / 493 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.2803, allocations: 27.98 kB / 493.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.2806, allocations: 242.6 kB / 493.3 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.2807, allocations: 11.91 kB / 493.3 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.2807, allocations: 12 kB / 493.3 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2807, allocations: 8 kB / 493.3 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.281, allocations: 175.8 kB / 493.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009533/0.2819, allocations: 0.7498 MB / 494.3 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.2823, allocations: 276.6 kB / 494.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2823, allocations: 0 / 494.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2824, allocations: 39.38 kB / 494.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.362e-06/0.2824, allocations: 0 / 494.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002384/0.2848, allocations: 1.713 MB / 496.3 MB, free: 3.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2848, allocations: 93.05 kB / 496.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.285, allocations: 162.2 kB / 496.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.285, allocations: 37.7 kB / 496.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.2851, allocations: 140.6 kB / 496.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.2852, allocations: 173.5 kB / 496.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.2853, allocations: 8 kB / 496.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2854, allocations: 338.8 kB / 497.2 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2856, allocations: 101.1 kB / 497.3 MB, free: 2.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.2858, allocations: 153.5 kB / 497.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.286, allocations: 126.3 kB / 497.6 MB, free: 2.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.286, allocations: 0 / 497.6 MB, free: 2.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004979/0.2865, allocations: 374.4 kB / 497.9 MB, free: 1.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2865, allocations: 8 kB / 497.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2866, allocations: 0 / 497.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2866, allocations: 4 kB / 498 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.287, allocations: 103.9 kB / 498.1 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.287, allocations: 11.88 kB / 498.1 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2871, allocations: 8 kB / 498.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2871, allocations: 16 kB / 498.1 MB, free: 1.523 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.0001316/0.2873, allocations: 145.8 kB / 498.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.2873, allocations: 35.67 kB / 498.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.2874, allocations: 41.86 kB / 498.3 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2875, allocations: 4 kB / 498.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2875, allocations: 4 kB / 498.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2875, allocations: 3.984 kB / 498.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.2886, allocations: 0.9461 MB / 499.3 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2886, allocations: 4 kB / 499.3 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.289, allocations: 99.83 kB / 499.4 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.289, allocations: 7.984 kB / 499.4 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.289, allocations: 12.02 kB / 499.4 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.289, allocations: 4 kB / 499.4 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2891, allocations: 3.984 kB / 499.4 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.2898, allocations: 0.6727 MB / 0.4883 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.2899, allocations: 96.83 kB / 0.4884 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.2899, allocations: 12 kB / 0.4885 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2901, allocations: 8 kB / 0.4885 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.2902, allocations: 27.95 kB / 0.4885 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.2902, allocations: 16 kB / 0.4885 GB, free: 15.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.2903, allocations: 127.2 kB / 0.4886 GB, free: 15.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2903, allocations: 0 / 0.4886 GB, free: 15.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.2906, allocations: 84 kB / 0.4887 GB, free: 15.04 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.0001314/0.2908, allocations: 115.2 kB / 0.4888 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.2912, allocations: 290.6 kB / 0.4891 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2912, allocations: 0 / 0.4891 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.2914, allocations: 159.6 kB / 0.4892 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.2918, allocations: 52.17 kB / 0.4893 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2932, allocations: 1.218 MB / 0.4905 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2935, allocations: 0.7806 MB / 0.4912 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.2937, allocations: 34.97 kB / 0.4913 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.2938, allocations: 27.44 kB / 0.4913 GB, free: 12.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.2938, allocations: 0 / 0.4913 GB, free: 12.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005301/0.2991, allocations: 2.762 MB / 0.494 GB, free: 9.57 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches