Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",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.001845/0.001845, allocations: 181.8 kB / 15.76 MB, free: 6.363 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.976/1.976, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009595/0.0009596, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2719/0.2719, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6239, allocations: 85.56 MB / 0.5624 GB, free: 14.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.6242, allocations: 64.81 kB / 0.5625 GB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01781/0.6421, allocations: 6.357 MB / 0.5687 GB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6421, allocations: 0 / 0.5687 GB, free: 8.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.6421, allocations: 8 kB / 0.5687 GB, free: 8.766 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003884/0.6425, allocations: 376.3 kB / 0.569 GB, free: 8.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6426, allocations: 8.031 kB / 0.569 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.6426, allocations: 35.31 kB / 0.5691 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.6427, allocations: 0 / 0.5691 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6428, allocations: 163.5 kB / 0.5692 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.6428, allocations: 0 / 0.5692 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.6428, allocations: 0 / 0.5692 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.6429, allocations: 38.25 kB / 0.5693 GB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6429, allocations: 4 kB / 0.5693 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.643, allocations: 0 / 0.5693 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.643, allocations: 0 / 0.5693 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.643, allocations: 0.8125 kB / 0.5693 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.6431, allocations: 153.1 kB / 0.5694 GB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.6432, allocations: 14.58 kB / 0.5694 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.6432, allocations: 0 / 0.5694 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.6432, allocations: 68.34 kB / 0.5695 GB, free: 7.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.6433, allocations: 3.938 kB / 0.5695 GB, free: 7.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.6434, allocations: 62.84 kB / 0.5696 GB, free: 7.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.6435, allocations: 81.11 kB / 0.5696 GB, free: 7.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.6435, allocations: 85 kB / 0.5697 GB, free: 7.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6436, allocations: 25.7 kB / 0.5697 GB, free: 7.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.6436, allocations: 80.14 kB / 0.5698 GB, free: 7.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.6436, allocations: 3.938 kB / 0.5698 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-06/0.6436, allocations: 128 / 0.5698 GB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6438, allocations: 318.8 kB / 0.5701 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.6438, allocations: 7.438 kB / 0.5701 GB, free: 7.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.6438, allocations: 0 / 0.5701 GB, free: 7.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.6438, allocations: 25.7 kB / 0.5702 GB, free: 7.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6438, allocations: 0 / 0.5702 GB, free: 7.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.207e-05/0.6439, allocations: 67.3 kB / 0.5702 GB, free: 6.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.6439, allocations: 29.7 kB / 0.5703 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.644, allocations: 7.984 kB / 0.5703 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.644, allocations: 4.094 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.644, allocations: 0 / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.644, allocations: 0 / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.644, allocations: 0 / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.644, allocations: 0 / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.656e-05/0.6441, allocations: 143.3 kB / 0.5704 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.6441, allocations: 3.953 kB / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.6442, allocations: 3.125 kB / 0.5704 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.6442, allocations: 0 / 0.5704 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6442, allocations: 4 kB / 0.5704 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6442, allocations: 4 kB / 0.5704 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.6443, allocations: 145.7 kB / 0.5706 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6443, allocations: 0 / 0.5706 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.6443, allocations: 0 / 0.5706 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6443, allocations: 7.938 kB / 0.5706 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.6443, allocations: 0 / 0.5706 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.6444, allocations: 4 kB / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6444, allocations: 4 kB / 0.5706 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.6445, allocations: 94.64 kB / 0.5707 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.6445, allocations: 77.11 kB / 0.5707 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.6445, allocations: 7.953 kB / 0.5707 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.6446, allocations: 0 / 0.5707 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.6446, allocations: 0 / 0.5707 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.6446, allocations: 0 / 0.5707 GB, free: 6.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.6446, allocations: 79.27 kB / 0.5708 GB, free: 6.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.6447, allocations: 0 / 0.5708 GB, free: 6.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.6449, allocations: 15.88 kB / 0.5708 GB, free: 6.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005509/0.6454, allocations: 0.6457 MB / 0.5715 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.947e-05/0.6455, allocations: 59.41 kB / 0.5715 GB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6455, allocations: 4.094 kB / 0.5715 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.6456, allocations: 59.39 kB / 0.5716 GB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.888e-05/0.6457, allocations: 7.453 kB / 0.5716 GB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.646, allocations: 96.42 kB / 0.5717 GB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6463, allocations: 0.677 MB / 0.5723 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.481e-06/0.6463, allocations: 0 / 0.5723 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.6463, allocations: 7.438 kB / 0.5723 GB, free: 4.539 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6463, allocations: 0 / 0.5723 GB, free: 4.539 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.6594, allocations: 0.8317 MB / 0.5732 GB, free: 3.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.6597, allocations: 203.9 kB / 0.5734 GB, free: 3.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.187, allocations: 64 / 0.5734 GB, free: 3.512 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat