Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_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.001643/0.001643, allocations: 175.9 kB / 17.41 MB, free: 4.285 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.489/1.489, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.000785/0.000785, allocations: 91.39 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 8 kB / 328.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2129, allocations: 47.58 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08157/0.2945, allocations: 76.08 MB / 451.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.2947, allocations: 67.97 kB / 451.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.3063, allocations: 4.549 MB / 456.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3063, allocations: 0 / 456.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.3063, allocations: 8 kB / 456.4 MB, free: 15.89 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.0006389/0.307, allocations: 0.5148 MB / 456.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.307, allocations: 8.031 kB / 457 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.3071, allocations: 32.56 kB / 457 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3073, allocations: 235.9 kB / 457.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3073, allocations: 20.94 kB / 457.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.3074, allocations: 32.27 kB / 457.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.3078, allocations: 251.1 kB / 457.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3078, allocations: 8.172 kB / 457.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.3079, allocations: 11.94 kB / 457.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3079, allocations: 8 kB / 457.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.3082, allocations: 171.9 kB / 457.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.3091, allocations: 0.7578 MB / 458.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.3095, allocations: 270.8 kB / 458.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3097, allocations: 129.9 kB / 458.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3097, allocations: 4 kB / 458.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3097, allocations: 38.5 kB / 458.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.413e-06/0.3098, allocations: 0 / 458.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002464/0.3122, allocations: 1.712 MB / 460.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3123, allocations: 89.05 kB / 460.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3124, allocations: 178.3 kB / 460.9 MB, free: 11.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3125, allocations: 33.7 kB / 460.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.3126, allocations: 144.6 kB / 461 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3127, allocations: 173.4 kB / 461.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.3127, allocations: 8 kB / 461.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3128, allocations: 342.8 kB / 461.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.313, allocations: 105.1 kB / 461.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3132, allocations: 153.5 kB / 461.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.3136, allocations: 274.2 kB / 462.1 MB, free: 9.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3136, allocations: 0 / 462.1 MB, free: 9.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004855/0.3141, allocations: 361.9 kB / 462.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3141, allocations: 8 kB / 462.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3141, allocations: 4 kB / 462.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3141, allocations: 0 / 462.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.3145, allocations: 107.8 kB / 462.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3145, allocations: 0 / 462.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3147, allocations: 12 kB / 462.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3147, allocations: 16 kB / 462.6 MB, free: 9.309 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.0001375/0.3148, allocations: 150.6 kB / 462.7 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.3149, allocations: 39.56 kB / 462.8 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.315, allocations: 41.86 kB / 462.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.315, allocations: 4 kB / 462.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.315, allocations: 4 kB / 462.8 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.315, allocations: 3.984 kB / 462.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.3163, allocations: 0.9477 MB / 463.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3163, allocations: 3.938 kB / 463.8 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.3167, allocations: 99.89 kB / 463.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3167, allocations: 0 / 463.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.3167, allocations: 12 kB / 463.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.3168, allocations: 8.062 kB / 463.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3168, allocations: 0 / 463.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.3175, allocations: 0.6433 MB / 464.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3176, allocations: 100.7 kB / 464.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.3176, allocations: 8 kB / 464.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3178, allocations: 12 kB / 464.6 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3178, allocations: 35.81 kB / 464.7 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3178, allocations: 12 kB / 464.7 MB, free: 7.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.3179, allocations: 128.3 kB / 464.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.318, allocations: 0 / 464.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.3183, allocations: 87.94 kB / 464.9 MB, free: 6.859 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.0001308/0.3184, allocations: 115 kB / 465 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.3189, allocations: 290.8 kB / 465.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3189, allocations: 0 / 465.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.3191, allocations: 160.4 kB / 465.5 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.3196, allocations: 56.05 kB / 465.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3211, allocations: 1.24 MB / 466.8 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3214, allocations: 0.7767 MB / 467.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.3215, allocations: 31.44 kB / 467.6 MB, free: 4.117 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3215, allocations: 0 / 467.6 MB, free: 4.117 MB / 346.7 MB Notification: Performance of Templates: time 0.004845/0.3264, allocations: 3.611 MB / 471.2 MB, free: 0.5156 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches