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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_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.001513/0.001513, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.975/1.975, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001178/0.001178, allocations: 96.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 47.57 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4457, allocations: 76.06 MB / 450.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.446, allocations: 67.95 kB / 450.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01919/0.4652, allocations: 4.549 MB / 455.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4653, allocations: 0 / 455.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.4653, allocations: 4 kB / 455.3 MB, free: 15.95 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.001007/0.4663, allocations: 0.5225 MB / 455.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.4664, allocations: 8.031 kB / 455.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/0.4665, allocations: 62.53 kB / 455.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.4666, allocations: 31.62 kB / 455.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.4669, allocations: 234.6 kB / 456.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.467, allocations: 24.56 kB / 456.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.4671, allocations: 24 kB / 456.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.4677, allocations: 250.6 kB / 456.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.4678, allocations: 7.906 kB / 456.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.4678, allocations: 8 kB / 456.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4679, allocations: 8 kB / 456.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.4684, allocations: 175.8 kB / 456.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.47, allocations: 0.7656 MB / 457.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.4707, allocations: 271.4 kB / 457.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.4708, allocations: 8 kB / 457.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4708, allocations: 39.19 kB / 457.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.976e-06/0.4708, allocations: 0 / 457.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.004143/0.475, allocations: 1.715 MB / 459.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4751, allocations: 81.11 kB / 459.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.4754, allocations: 165.5 kB / 459.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.4754, allocations: 33.7 kB / 459.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4755, allocations: 199 kB / 459.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4757, allocations: 177.4 kB / 460.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4758, allocations: 12 kB / 460.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4759, allocations: 330.8 kB / 460.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.4762, allocations: 97.09 kB / 460.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.4765, allocations: 153.5 kB / 460.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.4769, allocations: 126.3 kB / 460.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4769, allocations: 3.938 kB / 460.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008446/0.4778, allocations: 360.2 kB / 461.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4778, allocations: 6.031 kB / 461.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4778, allocations: 0 / 461.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4779, allocations: 4 kB / 461.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.4786, allocations: 95.89 kB / 461.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.4786, allocations: 12 kB / 461.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.4789, allocations: 12 kB / 461.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4789, allocations: 12 kB / 461.3 MB, free: 9.566 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.0002217/0.4791, allocations: 153.8 kB / 461.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.4792, allocations: 31.67 kB / 461.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.4794, allocations: 41.88 kB / 461.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4794, allocations: 4 kB / 461.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4795, allocations: 0 / 461.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.4795, allocations: 3.984 kB / 461.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.4815, allocations: 0.9594 MB / 462.5 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4815, allocations: 0 / 462.5 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.4823, allocations: 95.84 kB / 462.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.4824, allocations: 4 kB / 462.6 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.4824, allocations: 19.94 kB / 462.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.4824, allocations: 4 kB / 462.6 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4825, allocations: 0 / 462.6 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.4837, allocations: 0.668 MB / 463.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4838, allocations: 100.8 kB / 463.4 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.4839, allocations: 11.94 kB / 463.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.4842, allocations: 8 kB / 463.4 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.4843, allocations: 35.95 kB / 463.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.4843, allocations: 8 kB / 463.4 MB, free: 7.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.4845, allocations: 140.2 kB / 463.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4845, allocations: 0 / 463.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005344/0.485, allocations: 80 kB / 463.6 MB, free: 7.07 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.001585/0.4866, allocations: 1.424 MB / 465.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007839/0.4874, allocations: 291.1 kB / 465.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4874, allocations: 4.125 kB / 465.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.4878, allocations: 155.6 kB / 465.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.4885, allocations: 55.94 kB / 465.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.4933, allocations: 2.652 MB / 468.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4937, allocations: 0.7806 MB / 469 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.494, allocations: 99.41 kB / 469.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.494, allocations: 0 / 469.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.48/2.974, allocations: 4.818 MB / 473.9 MB, free: 12.66 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat