Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002501/0.0025, allocations: 185.8 kB / 16.41 MB, free: 5.727 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.194/2.194, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001129/0.001129, allocations: 91.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5905/0.5905, allocations: 43.56 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005017, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.6225, allocations: 85.55 MB / 0.5624 GB, free: 1.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6228, allocations: 63.97 kB / 0.5624 GB, free: 1.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03112/0.6539, allocations: 6.363 MB / 0.5686 GB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.654, allocations: 0 / 0.5686 GB, free: 10.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.654, allocations: 0 / 0.5686 GB, free: 10.71 MB / 394.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.0004851/0.6545, allocations: 377 kB / 0.569 GB, free: 10.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.6546, allocations: 12.03 kB / 0.569 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.6547, allocations: 31.31 kB / 0.569 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.6547, allocations: 8.219 kB / 0.569 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.6548, allocations: 159.1 kB / 0.5692 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6549, allocations: 0 / 0.5692 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.6549, allocations: 0 / 0.5692 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.655, allocations: 37.62 kB / 0.5692 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.655, allocations: 0 / 0.5692 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.655, allocations: 0 / 0.5692 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6551, allocations: 3.938 kB / 0.5692 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.6551, allocations: 5.031 kB / 0.5692 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.6553, allocations: 161.6 kB / 0.5694 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.6554, allocations: 14.58 kB / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.6554, allocations: 0 / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.989e-05/0.6555, allocations: 64.34 kB / 0.5695 GB, free: 9.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.6555, allocations: 3.938 kB / 0.5695 GB, free: 9.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002631/0.6557, allocations: 63.41 kB / 0.5695 GB, free: 9.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.6558, allocations: 81.23 kB / 0.5696 GB, free: 9.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.6559, allocations: 85 kB / 0.5697 GB, free: 9.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.6559, allocations: 25.7 kB / 0.5697 GB, free: 9.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.656, allocations: 154.5 kB / 0.5699 GB, free: 9.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.656, allocations: 0.9375 kB / 0.5699 GB, free: 9.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.6561, allocations: 0 / 0.5699 GB, free: 9.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6562, allocations: 318.8 kB / 0.5702 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.6563, allocations: 0 / 0.5702 GB, free: 8.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.6563, allocations: 0 / 0.5702 GB, free: 8.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.6563, allocations: 33.77 kB / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6564, allocations: 0 / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000102/0.6565, allocations: 67.3 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.6565, allocations: 37.69 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6565, allocations: 0.625 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6566, allocations: 0 / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.6566, allocations: 0 / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6566, allocations: 0 / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.6566, allocations: 0 / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.6566, allocations: 0 / 0.5703 GB, free: 8.754 MB / 394.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 0.0001228/0.6568, allocations: 143.6 kB / 0.5704 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.6568, allocations: 3.953 kB / 0.5704 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.6568, allocations: 3.125 kB / 0.5704 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6568, allocations: 4 kB / 0.5705 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6569, allocations: 0 / 0.5705 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6569, allocations: 7.969 kB / 0.5705 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.657, allocations: 145.7 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.657, allocations: 0 / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.657, allocations: 0 / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.6571, allocations: 7.953 kB / 0.5706 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6571, allocations: 4 kB / 0.5706 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6571, allocations: 0 / 0.5706 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6571, allocations: 0 / 0.5706 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.6573, allocations: 96.8 kB / 0.5707 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.6573, allocations: 77.11 kB / 0.5708 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.6574, allocations: 7.891 kB / 0.5708 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.6574, allocations: 4.031 kB / 0.5708 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.6574, allocations: 3.984 kB / 0.5708 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6574, allocations: 4 kB / 0.5708 GB, free: 8.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.6575, allocations: 75.28 kB / 0.5709 GB, free: 8.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6575, allocations: 3.938 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00027/0.6578, allocations: 4 kB / 0.5709 GB, free: 8.066 MB / 394.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.0007936/0.6586, allocations: 0.6449 MB / 0.5715 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.6587, allocations: 59.41 kB / 0.5716 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6588, allocations: 0 / 0.5716 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.6588, allocations: 59.39 kB / 0.5716 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.659, allocations: 3.953 kB / 0.5716 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.6594, allocations: 133 kB / 0.5717 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6598, allocations: 0.677 MB / 0.5724 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.6598, allocations: 7.438 kB / 0.5724 GB, free: 6.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6598, allocations: 0 / 0.5724 GB, free: 6.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.381/3.041, allocations: 0.5942 MB / 0.573 GB, free: 5.781 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat