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.001513/0.001513, allocations: 196.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009831/0.0009831, allocations: 98.52 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08873/0.2833, allocations: 77.97 MB / 487.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.2835, allocations: 69.7 kB / 487.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.2957, allocations: 4.691 MB / 492.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2958, allocations: 0 / 492.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.2958, allocations: 8 kB / 492.1 MB, free: 8.75 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.0006482/0.2964, allocations: 0.5108 MB / 492.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2965, allocations: 8.031 kB / 492.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.2966, allocations: 32.56 kB / 492.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2968, allocations: 244 kB / 492.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2968, allocations: 20.94 kB / 492.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2969, allocations: 28.28 kB / 492.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.2973, allocations: 255.1 kB / 493.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2973, allocations: 4.125 kB / 493.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.2973, allocations: 15.94 kB / 493.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2974, allocations: 4 kB / 493.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.2976, allocations: 171.9 kB / 493.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.2986, allocations: 0.7575 MB / 494.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.299, allocations: 273 kB / 494.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2992, allocations: 122.3 kB / 494.5 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2992, allocations: 7.906 kB / 494.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2993, allocations: 38.75 kB / 494.6 MB, free: 6.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.2993, allocations: 0 / 494.6 MB, free: 6.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002465/0.3017, allocations: 1.712 MB / 496.3 MB, free: 4.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3018, allocations: 81.11 kB / 496.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.302, allocations: 187.2 kB / 496.5 MB, free: 3.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.302, allocations: 29.7 kB / 496.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.3021, allocations: 148.5 kB / 496.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.3022, allocations: 173.5 kB / 496.9 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.3022, allocations: 8 kB / 496.9 MB, free: 3.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3024, allocations: 338.8 kB / 497.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3025, allocations: 101.1 kB / 497.3 MB, free: 3.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3027, allocations: 157.5 kB / 497.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.3031, allocations: 278.1 kB / 497.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3031, allocations: 3.938 kB / 497.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005114/0.3036, allocations: 365.8 kB / 498.1 MB, free: 2.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3037, allocations: 4 kB / 498.1 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3037, allocations: 4 kB / 498.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3037, allocations: 8.062 kB / 498.1 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.3041, allocations: 99.84 kB / 498.2 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3041, allocations: 7.984 kB / 498.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3042, allocations: 8 kB / 498.2 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3042, allocations: 16 kB / 498.3 MB, free: 2.16 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.0001403/0.3044, allocations: 145.8 kB / 498.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3045, allocations: 31.66 kB / 498.4 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.3045, allocations: 45.8 kB / 498.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3046, allocations: 4 kB / 498.5 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3046, allocations: 8 kB / 498.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3046, allocations: 3.984 kB / 498.5 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3058, allocations: 0.9556 MB / 499.4 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3058, allocations: 7.938 kB / 499.5 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.3062, allocations: 95.89 kB / 499.5 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3062, allocations: 0 / 499.5 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3063, allocations: 8 kB / 499.6 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3063, allocations: 8 kB / 499.6 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3063, allocations: 0 / 499.6 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.307, allocations: 0.6433 MB / 0.4885 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3071, allocations: 104.8 kB / 0.4886 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.3072, allocations: 8 kB / 0.4886 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3074, allocations: 15.94 kB / 0.4886 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3074, allocations: 23.97 kB / 0.4886 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3074, allocations: 12 kB / 0.4886 GB, free: 15.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3075, allocations: 136.3 kB / 0.4888 GB, free: 15.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3076, allocations: 0 / 0.4888 GB, free: 15.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.3079, allocations: 84 kB / 0.4888 GB, free: 15.72 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.0001372/0.3081, allocations: 111.2 kB / 0.489 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.3085, allocations: 290.8 kB / 0.4892 GB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3085, allocations: 4.125 kB / 0.4892 GB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.3087, allocations: 155.6 kB / 0.4894 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.3093, allocations: 69.55 kB / 0.4895 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3108, allocations: 1.213 MB / 0.4906 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3112, allocations: 0.7806 MB / 0.4914 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.3113, allocations: 30.95 kB / 0.4914 GB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3114, allocations: 31.44 kB / 0.4915 GB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3114, allocations: 0 / 0.4915 GB, free: 12.98 MB / 378.7 MB Notification: Performance of Templates: time 0.005745/0.3172, allocations: 2.798 MB / 0.4942 GB, free: 10.2 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/jenkins1/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