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.001399/0.001399, allocations: 200.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 100 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.164e-05, allocations: 4 kB / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.614, allocations: 77.31 MB / 472.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.6143, allocations: 69.36 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.6266, allocations: 4.656 MB / 477.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6266, allocations: 0 / 477.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.6266, allocations: 4 kB / 477.3 MB, free: 11.25 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.0005794/0.6272, allocations: 0.4999 MB / 477.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6273, allocations: 9.344 kB / 477.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.6273, allocations: 27.72 kB / 477.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.6276, allocations: 234.3 kB / 478.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.6276, allocations: 8 kB / 478.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.6276, allocations: 25.05 kB / 478.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002676/0.6279, allocations: 154.4 kB / 478.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.6282, allocations: 207.4 kB / 478.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6283, allocations: 3.75 kB / 478.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.6283, allocations: 0 / 478.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.6283, allocations: 8 kB / 478.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.6291, allocations: 0.6936 MB / 479.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.6295, allocations: 244 kB / 479.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.6296, allocations: 112.3 kB / 479.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.6296, allocations: 4 kB / 479.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.6297, allocations: 45.19 kB / 479.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.513e-06/0.6297, allocations: 0 / 479.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.00176/0.6314, allocations: 1.486 MB / 481 MB, free: 8.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.6315, allocations: 81.11 kB / 481.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.6316, allocations: 146.3 kB / 481.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6316, allocations: 30.08 kB / 481.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.6317, allocations: 142 kB / 481.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.6318, allocations: 166.1 kB / 481.6 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.6318, allocations: 4 kB / 481.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.6319, allocations: 338.1 kB / 481.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.632, allocations: 88.62 kB / 482 MB, free: 7.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.6322, allocations: 135.7 kB / 482.1 MB, free: 7.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.6323, allocations: 117.7 kB / 482.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6324, allocations: 0 / 482.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003817/0.6327, allocations: 321.6 kB / 482.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6328, allocations: 4 kB / 482.6 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6328, allocations: 4 kB / 482.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.6328, allocations: 7.984 kB / 482.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.6332, allocations: 101.6 kB / 482.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6332, allocations: 5.5 kB / 482.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.6333, allocations: 0 / 482.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.6333, allocations: 11.94 kB / 482.7 MB, free: 6.637 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 () * 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.0001028/0.6334, allocations: 123.7 kB / 482.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003403/0.6338, allocations: 282.6 kB / 483.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.6338, allocations: 23.72 kB / 483.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.6339, allocations: 30.02 kB / 483.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.6339, allocations: 9.406 kB / 483.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6339, allocations: 3.938 kB / 483.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6339, allocations: 5.078 kB / 483.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.6348, allocations: 0.8566 MB / 484 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6349, allocations: 0 / 484 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.6352, allocations: 98.58 kB / 484.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6353, allocations: 8.062 kB / 484.1 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.6353, allocations: 3.953 kB / 484.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6353, allocations: 4 kB / 484.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6353, allocations: 0 / 484.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.6359, allocations: 0.6367 MB / 484.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.636, allocations: 100.8 kB / 484.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.636, allocations: 4 kB / 484.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.6362, allocations: 0 / 484.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.6362, allocations: 27.77 kB / 484.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.6362, allocations: 15.94 kB / 484.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.6363, allocations: 113.8 kB / 485 MB, free: 4.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6363, allocations: 4 kB / 485 MB, free: 4.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.6367, allocations: 64 kB / 485.1 MB, free: 4.57 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 () * 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.0008907/0.6376, allocations: 1.378 MB / 486.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.6379, allocations: 261.1 kB / 486.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6379, allocations: 0 / 486.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.6381, allocations: 138.4 kB / 486.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.6386, allocations: 48.03 kB / 486.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.6399, allocations: 0.933 MB / 487.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.6401, allocations: 0.7875 MB / 488.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.6402, allocations: 31.28 kB / 488.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.6404, allocations: 94.78 kB / 488.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6404, allocations: 0 / 488.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.6678, allocations: 5.031 MB / 493.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.668, allocations: 148.1 kB / 493.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.82, allocations: 7.203 kB / 493.9 MB, free: 12.04 MB / 362.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