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.0009623/0.0009622, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000841/0.000841, allocations: 83.95 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 47.58 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4546, allocations: 75.56 MB / 438.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4549, allocations: 60.16 kB / 438.8 MB, free: 3.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.4668, allocations: 4.515 MB / 443.3 MB, free: 68 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4669, allocations: 0 / 443.3 MB, free: 68 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.4669, allocations: 8 kB / 443.3 MB, free: 60 kB / 314.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.0006306/0.4675, allocations: 0.4927 MB / 443.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4676, allocations: 8.031 kB / 443.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.4676, allocations: 31.7 kB / 443.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.4679, allocations: 240.5 kB / 444.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.4679, allocations: 11.95 kB / 444.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.468, allocations: 16 kB / 444.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003395/0.4683, allocations: 150.9 kB / 444.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.4687, allocations: 215.2 kB / 444.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.4688, allocations: 4.766 kB / 444.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.4688, allocations: 0 / 444.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4688, allocations: 8 kB / 444.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009018/0.4697, allocations: 0.695 MB / 445.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4701, allocations: 250.4 kB / 445.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4702, allocations: 108.9 kB / 445.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.4703, allocations: 0 / 445.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4703, allocations: 44.14 kB / 445.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/0.4703, allocations: 0 / 445.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.002091/0.4724, allocations: 1.494 MB / 447 MB, free: 12.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.4725, allocations: 85.11 kB / 447.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4726, allocations: 144 kB / 447.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.4726, allocations: 25.7 kB / 447.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.4727, allocations: 147.7 kB / 447.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4728, allocations: 157.6 kB / 447.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.4729, allocations: 4 kB / 447.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.473, allocations: 341 kB / 447.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4731, allocations: 85.38 kB / 448 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.4733, allocations: 136.5 kB / 448.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4735, allocations: 114.7 kB / 448.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4735, allocations: 0 / 448.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004204/0.4739, allocations: 326.3 kB / 448.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4739, allocations: 4 kB / 448.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.474, allocations: 0 / 448.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.474, allocations: 7.938 kB / 448.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.4744, allocations: 98.95 kB / 448.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4744, allocations: 7.938 kB / 448.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.4745, allocations: 0 / 448.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.4746, allocations: 15.12 kB / 448.7 MB, free: 11.04 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.909e-05/0.4747, allocations: 121.8 kB / 448.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004114/0.4751, allocations: 274.4 kB / 449.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.4751, allocations: 27.72 kB / 449.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.806e-05/0.4752, allocations: 38.39 kB / 449.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4753, allocations: 4 kB / 449.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4753, allocations: 0 / 449.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4753, allocations: 0 / 449.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.4764, allocations: 0.8598 MB / 450 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4764, allocations: 4 kB / 450 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.4768, allocations: 99.08 kB / 450.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4768, allocations: 8.062 kB / 450.1 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.4769, allocations: 7.953 kB / 450.1 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4769, allocations: 0 / 450.1 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4769, allocations: 4 kB / 450.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.4776, allocations: 0.632 MB / 450.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.4776, allocations: 96.83 kB / 450.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.4777, allocations: 3.438 kB / 450.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4778, allocations: 0 / 450.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.4779, allocations: 27.41 kB / 450.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4779, allocations: 14.92 kB / 450.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.548e-05/0.478, allocations: 118.7 kB / 451 MB, free: 8.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.478, allocations: 4 kB / 451 MB, free: 8.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.4784, allocations: 60 kB / 451.1 MB, free: 8.918 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.001051/0.4794, allocations: 1.378 MB / 452.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.4798, allocations: 268.9 kB / 452.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4799, allocations: 0 / 452.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.48, allocations: 138.6 kB / 452.9 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.4805, allocations: 50.69 kB / 452.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.482, allocations: 0.9379 MB / 453.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.4824, allocations: 0.7803 MB / 454.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.4825, allocations: 35.27 kB / 454.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4827, allocations: 93.97 kB / 454.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4827, allocations: 0 / 454.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.5083, allocations: 5.029 MB / 459.8 MB, free: 464 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.5086, allocations: 152.9 kB / 459.9 MB, free: 264 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.668, allocations: 0 / 459.9 MB, free: 264 kB / 330.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