Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.796/1.796, allocations: 221.5 MB / 230.3 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.34 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.337e-05, allocations: 7.938 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 50.4 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.5727, allocations: 75.83 MB / 463.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.573, allocations: 63.97 kB / 463.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00805/0.5811, allocations: 2.872 MB / 466.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5811, allocations: 192 / 466.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5811, allocations: 8 kB / 466.3 MB, free: 15.96 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005502/0.5817, allocations: 426.8 kB / 466.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5817, allocations: 12.03 kB / 466.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.5818, allocations: 19.77 kB / 466.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.5821, allocations: 207.5 kB / 467 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5821, allocations: 14.61 kB / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.5821, allocations: 8 kB / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/0.5823, allocations: 79.98 kB / 467.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.5826, allocations: 161.7 kB / 467.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5826, allocations: 3.906 kB / 467.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.5826, allocations: 0 / 467.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.5827, allocations: 7.953 kB / 467.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.584, allocations: 0.9123 MB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.5841, allocations: 87.67 kB / 468.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.5842, allocations: 34.86 kB / 468.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5842, allocations: 11.98 kB / 468.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5842, allocations: 38.52 kB / 468.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.5842, allocations: 0 / 468.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002665/0.5845, allocations: 89.52 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.5846, allocations: 102.8 kB / 468.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.5847, allocations: 153.2 kB / 468.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.5848, allocations: 25.7 kB / 468.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.5849, allocations: 147.9 kB / 468.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.5849, allocations: 51.2 kB / 468.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.5849, allocations: 0.6562 kB / 468.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5851, allocations: 322.8 kB / 469.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.5852, allocations: 32.47 kB / 469.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5853, allocations: 139.4 kB / 469.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.5854, allocations: 56.05 kB / 469.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5854, allocations: 3.938 kB / 469.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002747/0.5857, allocations: 177.5 kB / 469.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5857, allocations: 11.94 kB / 469.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5857, allocations: 4 kB / 469.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5858, allocations: 7.953 kB / 469.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5859, allocations: 55.91 kB / 469.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.586, allocations: 4 kB / 469.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.5861, allocations: 15.75 kB / 469.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.5861, allocations: 12 kB / 469.7 MB, free: 12.24 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.975e-05/0.5862, allocations: 121.1 kB / 469.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001662/0.5864, allocations: 93.44 kB / 469.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.5864, allocations: 19.77 kB / 469.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.5865, allocations: 16.34 kB / 469.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5865, allocations: 0 / 469.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5865, allocations: 4 kB / 469.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5865, allocations: 0 / 469.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.5869, allocations: 206.1 kB / 470.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5869, allocations: 0 / 470.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.5871, allocations: 31.98 kB / 470.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5871, allocations: 4 kB / 470.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.5871, allocations: 4 kB / 470.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5871, allocations: 3.953 kB / 470.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5871, allocations: 0 / 470.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.5875, allocations: 401.1 kB / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.5875, allocations: 96.89 kB / 470.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.5876, allocations: 4 kB / 470.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5877, allocations: 0 / 470.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.5878, allocations: 4 kB / 470.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.5878, allocations: 7.984 kB / 470.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.5879, allocations: 115.3 kB / 470.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5879, allocations: 0 / 470.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.5882, allocations: 35.91 kB / 470.8 MB, free: 11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007732/0.589, allocations: 1.065 MB / 471.9 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.5892, allocations: 96.05 kB / 472 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5892, allocations: 0 / 472 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.5893, allocations: 28.28 kB / 472 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.5896, allocations: 33.45 kB / 472.1 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5909, allocations: 0.6063 MB / 472.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.5914, allocations: 0.7319 MB / 473.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.517e-05/0.5915, allocations: 13.33 kB / 473.4 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.5915, allocations: 47.42 kB / 473.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5915, allocations: 0 / 473.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.6162, allocations: 2.376 MB / 475.8 MB, free: 5.922 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.6166, allocations: 149.9 kB / 476 MB, free: 5.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.326, allocations: 0 / 476 MB, free: 5.73 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat