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.001082/0.001082, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.486/1.486, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008833/0.0008834, allocations: 96.83 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002615, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.224, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08503/0.309, allocations: 76.06 MB / 452 MB, free: 4.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.3093, allocations: 63.97 kB / 452 MB, free: 4.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.3208, allocations: 4.542 MB / 456.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3208, allocations: 0 / 456.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3208, allocations: 4 kB / 456.6 MB, free: 15.94 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.0006434/0.3215, allocations: 0.5303 MB / 457.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3215, allocations: 12.03 kB / 457.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.3216, allocations: 58.55 kB / 457.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.3217, allocations: 31.62 kB / 457.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3219, allocations: 234.6 kB / 457.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3219, allocations: 16.56 kB / 457.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.322, allocations: 35.94 kB / 457.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.3223, allocations: 246.6 kB / 457.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3224, allocations: 7.891 kB / 457.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3224, allocations: 12 kB / 457.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3224, allocations: 4 kB / 457.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.3227, allocations: 171.9 kB / 457.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000904/0.3236, allocations: 0.7578 MB / 458.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.324, allocations: 266.5 kB / 458.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.324, allocations: 11.94 kB / 459 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.324, allocations: 35.19 kB / 459 MB, free: 13.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.324, allocations: 0 / 459 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002331/0.3264, allocations: 1.723 MB / 460.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3264, allocations: 85.11 kB / 460.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3266, allocations: 157.5 kB / 460.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3266, allocations: 33.7 kB / 461 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3267, allocations: 140.6 kB / 461.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3268, allocations: 177.4 kB / 461.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.3268, allocations: 12 kB / 461.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3269, allocations: 338.8 kB / 461.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3271, allocations: 101.1 kB / 461.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3273, allocations: 153.5 kB / 461.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3275, allocations: 126.3 kB / 462 MB, free: 10.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3275, allocations: 0 / 462 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004922/0.328, allocations: 367.9 kB / 462.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.328, allocations: 4 kB / 462.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.328, allocations: 0 / 462.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3281, allocations: 4 kB / 462.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.3285, allocations: 104 kB / 462.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3285, allocations: 4 kB / 462.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3286, allocations: 12 kB / 462.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3286, allocations: 15.94 kB / 462.5 MB, free: 9.598 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.0001526/0.3288, allocations: 157.7 kB / 462.7 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.3289, allocations: 27.67 kB / 462.7 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.329, allocations: 37.88 kB / 462.7 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.329, allocations: 8 kB / 462.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.329, allocations: 4 kB / 462.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.329, allocations: 3.984 kB / 462.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3302, allocations: 0.9593 MB / 463.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3302, allocations: 0 / 463.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.3307, allocations: 95.84 kB / 463.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3307, allocations: 4 kB / 463.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.3307, allocations: 19.94 kB / 463.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3307, allocations: 0 / 463.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3307, allocations: 4 kB / 463.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.3315, allocations: 0.6642 MB / 464.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3316, allocations: 100.8 kB / 464.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3316, allocations: 11.94 kB / 464.6 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3318, allocations: 16 kB / 464.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.3318, allocations: 31.95 kB / 464.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3319, allocations: 8 kB / 464.6 MB, free: 7.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.332, allocations: 140.2 kB / 464.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.332, allocations: 0 / 464.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.3323, allocations: 80 kB / 464.9 MB, free: 7.098 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.001021/0.3334, allocations: 1.423 MB / 466.3 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.3338, allocations: 295.1 kB / 466.6 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3339, allocations: 0 / 466.6 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3341, allocations: 155.6 kB / 466.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3346, allocations: 54.14 kB / 466.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.3376, allocations: 2.621 MB / 469.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3379, allocations: 0.7806 MB / 470.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.338, allocations: 34.97 kB / 470.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3382, allocations: 95.41 kB / 470.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of SimCode: time 3.426e-06/0.3382, allocations: 3.938 kB / 470.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.3548, allocations: 5.496 MB / 475.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.355, allocations: 194.8 kB / 476 MB, free: 11.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.214, allocations: 3.938 kB / 476 MB, free: 11.78 MB / 362.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