Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",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.00162/0.00162, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00115/0.001149, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.908e-05, allocations: 0 / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 47.57 MB / 369.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5194, allocations: 75.42 MB / 444.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5198, allocations: 63.53 kB / 444.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01224/0.532, allocations: 2.835 MB / 447.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5321, allocations: 0 / 447.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.5321, allocations: 4 kB / 447.5 MB, free: 15.3 MB / 330.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.0007011/0.5329, allocations: 428.8 kB / 447.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5329, allocations: 12.03 kB / 447.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.357e-05/0.533, allocations: 51.67 kB / 448 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.5331, allocations: 27.72 kB / 448 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.5334, allocations: 198.9 kB / 448.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.5334, allocations: 15 kB / 448.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.5335, allocations: 23.42 kB / 448.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.5339, allocations: 186.8 kB / 448.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5339, allocations: 0 / 448.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.534, allocations: 11 kB / 448.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.534, allocations: 4 kB / 448.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.5343, allocations: 93.34 kB / 448.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.5362, allocations: 0.9626 MB / 449.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.5365, allocations: 105.5 kB / 449.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.5366, allocations: 33.58 kB / 449.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5366, allocations: 4.766 kB / 449.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5366, allocations: 37.88 kB / 449.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.297e-06/0.5367, allocations: 0 / 449.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003739/0.537, allocations: 102.8 kB / 449.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.5371, allocations: 114.7 kB / 449.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.5374, allocations: 180.4 kB / 450.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.5375, allocations: 25.7 kB / 450.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5376, allocations: 209.2 kB / 450.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.5377, allocations: 50.52 kB / 450.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.5377, allocations: 11.69 kB / 450.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5379, allocations: 322.4 kB / 450.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.538, allocations: 35.47 kB / 450.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.5382, allocations: 138 kB / 450.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.5384, allocations: 58.67 kB / 450.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.5384, allocations: 4 kB / 450.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004738/0.5389, allocations: 202 kB / 451.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.5389, allocations: 4 kB / 451.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5389, allocations: 4 kB / 451.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.539, allocations: 11.98 kB / 451.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.5393, allocations: 51.55 kB / 451.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.5393, allocations: 8 kB / 451.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.5396, allocations: 27.19 kB / 451.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.5396, allocations: 8 kB / 451.2 MB, free: 11.62 MB / 330.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 0.0001188/0.5398, allocations: 128.7 kB / 451.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5399, allocations: 15.81 kB / 451.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.54, allocations: 27.8 kB / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.54, allocations: 0 / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.54, allocations: 3.938 kB / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.54, allocations: 4 kB / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.5407, allocations: 235.3 kB / 451.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5407, allocations: 0 / 451.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.541, allocations: 35.61 kB / 451.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.541, allocations: 4 kB / 451.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5411, allocations: 4 kB / 451.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.5411, allocations: 4 kB / 451.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5411, allocations: 0 / 451.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.5416, allocations: 402.1 kB / 452 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.5417, allocations: 96.84 kB / 452.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.5418, allocations: 15.69 kB / 452.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.542, allocations: 128 / 452.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.542, allocations: 11.98 kB / 452.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.5421, allocations: 7.375 kB / 452.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.5423, allocations: 154.5 kB / 452.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5423, allocations: 0 / 452.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.5428, allocations: 36.06 kB / 452.4 MB, free: 10.46 MB / 330.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.0009054/0.5437, allocations: 1.075 MB / 453.4 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.5441, allocations: 112.7 kB / 453.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5441, allocations: 0 / 453.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.5442, allocations: 34.88 kB / 453.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.5447, allocations: 26.5 kB / 453.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.5465, allocations: 0.6482 MB / 454.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5469, allocations: 0.7323 MB / 455 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.547, allocations: 50.42 kB / 455 MB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.547, allocations: 0 / 455 MB, free: 7.797 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.446/2.993, allocations: 2.648 MB / 457.7 MB, free: 5.184 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat