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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00093/0.0009299, allocations: 110.9 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002124, allocations: 11.98 kB / 358 MB, free: 9.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2567, allocations: 51.48 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09369/0.3504, allocations: 78.04 MB / 487.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.3507, allocations: 67.97 kB / 487.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.3627, allocations: 4.694 MB / 492.3 MB, free: 7.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3627, allocations: 0 / 492.3 MB, free: 7.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.3628, allocations: 8 kB / 492.3 MB, free: 7.738 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.0006701/0.3634, allocations: 0.5186 MB / 492.8 MB, free: 7.168 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3635, allocations: 11.97 kB / 492.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.3636, allocations: 66.53 kB / 492.9 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.3636, allocations: 31.62 kB / 492.9 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3639, allocations: 242.6 kB / 493.2 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3639, allocations: 20.56 kB / 493.2 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.3639, allocations: 28 kB / 493.2 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.3643, allocations: 246.6 kB / 493.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3643, allocations: 3.906 kB / 493.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.3644, allocations: 16 kB / 493.5 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.3644, allocations: 8 kB / 493.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.3647, allocations: 179.8 kB / 493.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.3656, allocations: 0.742 MB / 494.4 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.366, allocations: 281 kB / 494.7 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.366, allocations: 7.938 kB / 494.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3661, allocations: 35.38 kB / 494.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.3661, allocations: 0 / 494.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002435/0.3685, allocations: 1.713 MB / 496.4 MB, free: 3.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3686, allocations: 81.11 kB / 496.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3687, allocations: 166.2 kB / 496.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3688, allocations: 33.7 kB / 496.7 MB, free: 2.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.3688, allocations: 148.6 kB / 496.8 MB, free: 2.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.369, allocations: 173.5 kB / 497 MB, free: 2.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.369, allocations: 8 kB / 497 MB, free: 2.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3691, allocations: 342.8 kB / 497.4 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3693, allocations: 101.1 kB / 497.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.3695, allocations: 153.4 kB / 497.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3697, allocations: 122.3 kB / 497.7 MB, free: 1.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3697, allocations: 0 / 497.7 MB, free: 1.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000482/0.3702, allocations: 372.1 kB / 498.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3702, allocations: 4 kB / 498.1 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3702, allocations: 4 kB / 498.1 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3702, allocations: 0 / 498.1 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.3706, allocations: 107.8 kB / 498.2 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3706, allocations: 0 / 498.2 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3707, allocations: 12 kB / 498.2 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3708, allocations: 16 kB / 498.2 MB, free: 1.379 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.0001398/0.3709, allocations: 149.7 kB / 498.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.371, allocations: 35.73 kB / 498.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/0.3711, allocations: 41.86 kB / 498.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3711, allocations: 4 kB / 498.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3711, allocations: 4 kB / 498.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3711, allocations: 7.922 kB / 498.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3723, allocations: 0.9461 MB / 499.4 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3723, allocations: 0 / 499.4 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.3727, allocations: 99.89 kB / 499.5 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3728, allocations: 0 / 499.5 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.3728, allocations: 11.95 kB / 499.5 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3728, allocations: 8.062 kB / 499.5 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3728, allocations: 0 / 499.5 MB, free: 0 / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.3736, allocations: 0.6765 MB / 0.4885 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.3736, allocations: 96.83 kB / 0.4886 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3737, allocations: 12 kB / 0.4886 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3739, allocations: 8 kB / 0.4886 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.3739, allocations: 23.97 kB / 0.4886 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3739, allocations: 15.98 kB / 0.4886 GB, free: 15.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.374, allocations: 131.2 kB / 0.4888 GB, free: 14.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.374, allocations: 0 / 0.4888 GB, free: 14.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.3744, allocations: 80 kB / 0.4888 GB, free: 14.9 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.001055/0.3755, allocations: 1.446 MB / 0.4902 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.3759, allocations: 286.8 kB / 0.4905 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3759, allocations: 0 / 0.4905 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3761, allocations: 155.6 kB / 0.4907 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3765, allocations: 60.77 kB / 0.4907 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.3794, allocations: 2.622 MB / 0.4933 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3797, allocations: 0.7806 MB / 0.4941 GB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.3799, allocations: 30.97 kB / 0.4941 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.38, allocations: 91.41 kB / 0.4942 GB, free: 9.297 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.38, allocations: 0 / 0.4942 GB, free: 9.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.3976, allocations: 5.501 MB / 0.4995 GB, free: 3.973 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.3978, allocations: 187.2 kB / 0.4997 GB, free: 3.734 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.345, allocations: 4.062 kB / 0.4997 GB, free: 3.73 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat