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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 171.7 kB / 14.1 MB, free: 1.219 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.589/1.589, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008683/0.0008684, allocations: 82.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.905e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09096, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.4107, allocations: 75.97 MB / 446.1 MB, free: 1.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4111, allocations: 61.56 kB / 446.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.4237, allocations: 4.558 MB / 450.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.4237, allocations: 3.984 kB / 450.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.4237, allocations: 4 kB / 450.7 MB, free: 13.41 MB / 330.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.0006631/0.4244, allocations: 0.4948 MB / 451.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4245, allocations: 8.031 kB / 451.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.056e-05/0.4245, allocations: 69.97 kB / 451.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.4246, allocations: 27.72 kB / 451.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.4249, allocations: 241.7 kB / 451.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4249, allocations: 20.31 kB / 451.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.425, allocations: 23.12 kB / 451.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.4253, allocations: 249.9 kB / 451.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.4254, allocations: 8.328 kB / 451.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.4254, allocations: 7.688 kB / 451.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.4254, allocations: 11.98 kB / 451.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.4257, allocations: 165.8 kB / 452 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.4266, allocations: 0.7515 MB / 452.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.427, allocations: 273.2 kB / 453 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.4272, allocations: 115.7 kB / 453.1 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4272, allocations: 6.078 kB / 453.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4272, allocations: 46.19 kB / 453.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.4273, allocations: 0 / 453.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.002307/0.4296, allocations: 1.618 MB / 454.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.4296, allocations: 85.09 kB / 454.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4298, allocations: 160.8 kB / 455.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4298, allocations: 33.39 kB / 455.1 MB, free: 9.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.4299, allocations: 141.7 kB / 455.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.43, allocations: 169.9 kB / 455.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.43, allocations: 11.44 kB / 455.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4302, allocations: 352.8 kB / 455.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4304, allocations: 93.69 kB / 455.8 MB, free: 8.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.4305, allocations: 145.5 kB / 456 MB, free: 8.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.4307, allocations: 127.2 kB / 456.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4308, allocations: 7.953 kB / 456.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000468/0.4312, allocations: 354.3 kB / 456.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4313, allocations: 8 kB / 456.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4313, allocations: 0 / 456.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4313, allocations: 4 kB / 456.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.4317, allocations: 107.8 kB / 456.6 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4317, allocations: 4 kB / 456.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4318, allocations: 12.06 kB / 456.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.4318, allocations: 16 kB / 456.6 MB, free: 7.879 MB / 330.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 () * 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 9.615e-05/0.4319, allocations: 124.9 kB / 456.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.432, allocations: 35.58 kB / 456.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.417e-05/0.4321, allocations: 37.66 kB / 456.8 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4321, allocations: 7.984 kB / 456.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4321, allocations: 4 kB / 456.8 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4322, allocations: 4 kB / 456.8 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.4333, allocations: 0.944 MB / 457.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4333, allocations: 4.062 kB / 457.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.4338, allocations: 91.91 kB / 457.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-06/0.4338, allocations: 11.94 kB / 457.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.4338, allocations: 8 kB / 457.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4338, allocations: 0 / 457.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4338, allocations: 4 kB / 457.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.4345, allocations: 0.6606 MB / 458.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.4346, allocations: 104.7 kB / 458.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.4346, allocations: 12 kB / 458.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4348, allocations: 8 kB / 458.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.4349, allocations: 23.97 kB / 458.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.4349, allocations: 19.98 kB / 458.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.094e-05/0.435, allocations: 128.3 kB / 458.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.435, allocations: 0 / 458.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.4353, allocations: 87.95 kB / 458.9 MB, free: 5.434 MB / 330.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 () * 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.001053/0.4364, allocations: 1.419 MB / 460.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.4368, allocations: 287.1 kB / 460.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4369, allocations: 0 / 460.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.4371, allocations: 155.7 kB / 460.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.4375, allocations: 52.77 kB / 460.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.439, allocations: 0.9731 MB / 461.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4393, allocations: 0.7845 MB / 462.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.4395, allocations: 34.95 kB / 462.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4396, allocations: 95.41 kB / 462.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4396, allocations: 4 kB / 462.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.4569, allocations: 5.519 MB / 468.2 MB, free: 12 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.4571, allocations: 158.3 kB / 468.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.361, allocations: 0 / 468.4 MB, free: 11.78 MB / 346.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat