Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009248/0.0009247, allocations: 183 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 224.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007889, allocations: 92.58 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004483, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08504/0.3076, allocations: 76.09 MB / 453.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.3078, allocations: 63.97 kB / 453.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.3204, allocations: 4.561 MB / 457.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3205, allocations: 0 / 457.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.3205, allocations: 4 kB / 457.7 MB, free: 15.81 MB / 346.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.0007744/0.3213, allocations: 0.5069 MB / 458.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3213, allocations: 8.031 kB / 458.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.3214, allocations: 32.56 kB / 458.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3217, allocations: 240 kB / 458.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3218, allocations: 20.94 kB / 458.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.3218, allocations: 28.28 kB / 458.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3223, allocations: 259.1 kB / 458.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3223, allocations: 4.125 kB / 458.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.3224, allocations: 15.94 kB / 458.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3224, allocations: 4 kB / 458.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.3227, allocations: 175.9 kB / 459 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3237, allocations: 0.7539 MB / 459.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.3242, allocations: 272.8 kB / 460 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.3244, allocations: 125.9 kB / 460.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3244, allocations: 4 kB / 460.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3244, allocations: 42.56 kB / 460.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.784e-06/0.3244, allocations: 0 / 460.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002614/0.3271, allocations: 1.709 MB / 461.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3271, allocations: 81.11 kB / 462 MB, free: 11.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3273, allocations: 178.3 kB / 462.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3273, allocations: 41.7 kB / 462.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.3274, allocations: 152.2 kB / 462.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3276, allocations: 177.3 kB / 462.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.3276, allocations: 12 kB / 462.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3278, allocations: 334.8 kB / 462.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3279, allocations: 101.1 kB / 463 MB, free: 10.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.3282, allocations: 153.5 kB / 463.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3286, allocations: 278.2 kB / 463.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3286, allocations: 4 kB / 463.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005689/0.3292, allocations: 357.9 kB / 463.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3292, allocations: 8 kB / 463.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3292, allocations: 0 / 463.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3292, allocations: 4 kB / 463.8 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.3296, allocations: 107.9 kB / 463.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3296, allocations: 4 kB / 463.9 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3298, allocations: 8 kB / 463.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.3298, allocations: 16 kB / 463.9 MB, free: 9.227 MB / 346.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.0001467/0.33, allocations: 145.8 kB / 464 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.33, allocations: 35.56 kB / 464.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.3301, allocations: 41.86 kB / 464.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3301, allocations: 4 kB / 464.1 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3302, allocations: 4 kB / 464.1 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3302, allocations: 7.984 kB / 464.1 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3315, allocations: 0.9437 MB / 465.1 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3315, allocations: 7.938 kB / 465.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.3319, allocations: 95.89 kB / 465.2 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3319, allocations: 4 kB / 465.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.332, allocations: 4 kB / 465.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.332, allocations: 4 kB / 465.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.332, allocations: 0 / 465.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.3328, allocations: 0.6434 MB / 465.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.3329, allocations: 104.7 kB / 465.9 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.3329, allocations: 8 kB / 465.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3331, allocations: 12 kB / 465.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3332, allocations: 27.83 kB / 466 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.3332, allocations: 23.98 kB / 466 MB, free: 6.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.3333, allocations: 128.2 kB / 466.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3333, allocations: 4 kB / 466.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.3337, allocations: 80 kB / 466.2 MB, free: 6.789 MB / 346.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.0001467/0.3339, allocations: 107.2 kB / 466.3 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.3343, allocations: 291.4 kB / 466.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3343, allocations: 0 / 466.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3345, allocations: 167.6 kB / 466.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.3352, allocations: 60 kB / 466.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3368, allocations: 1.215 MB / 468 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3372, allocations: 0.7767 MB / 468.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3373, allocations: 30.95 kB / 468.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.3374, allocations: 31.44 kB / 468.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3374, allocations: 0 / 468.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of Templates: time 0.00629/0.3437, allocations: 2.797 MB / 471.7 MB, free: 1.273 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches