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.00153/0.00153, allocations: 181.3 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.089/2.089, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001133/0.001133, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2883/0.2883, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.007e-05/5.024e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4972/0.6404, allocations: 85.47 MB / 0.5564 GB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.6407, allocations: 57.39 kB / 0.5564 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02963/0.6703, allocations: 6.349 MB / 0.5626 GB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6704, allocations: 8 kB / 0.5626 GB, free: 12.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.6704, allocations: 0 / 0.5626 GB, free: 12.73 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.0003995/0.6708, allocations: 367 kB / 0.563 GB, free: 12.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6709, allocations: 8.031 kB / 0.563 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.671, allocations: 38.55 kB / 0.563 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.671, allocations: 3.938 kB / 0.563 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.6711, allocations: 167 kB / 0.5632 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6712, allocations: 0 / 0.5632 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.6712, allocations: 0 / 0.5632 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.6713, allocations: 33.7 kB / 0.5632 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6713, allocations: 0 / 0.5632 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.6713, allocations: 0 / 0.5632 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6713, allocations: 0 / 0.5632 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.6714, allocations: 3.938 kB / 0.5632 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.6715, allocations: 157 kB / 0.5634 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.6716, allocations: 14.58 kB / 0.5634 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.6716, allocations: 8.953 kB / 0.5634 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.6717, allocations: 4 kB / 0.5634 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.6717, allocations: 59.45 kB / 0.5634 GB, free: 11.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.6717, allocations: 0 / 0.5634 GB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001764/0.6719, allocations: 67.33 kB / 0.5635 GB, free: 11.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.672, allocations: 77.11 kB / 0.5636 GB, free: 11.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.672, allocations: 85 kB / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.6721, allocations: 25.7 kB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.6722, allocations: 154.6 kB / 0.5638 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.6722, allocations: 0 / 0.5638 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.6722, allocations: 4 kB / 0.5638 GB, free: 11.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6723, allocations: 314.2 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.6724, allocations: 0 / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.6724, allocations: 0 / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.6724, allocations: 29.7 kB / 0.5642 GB, free: 10.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6724, allocations: 3.953 kB / 0.5642 GB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.6e-05/0.6726, allocations: 63.39 kB / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.6726, allocations: 37.73 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6726, allocations: 0 / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6726, allocations: 0 / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.6727, allocations: 3.938 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6727, allocations: 0 / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.6727, allocations: 0 / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6727, allocations: 4 kB / 0.5643 GB, free: 10.78 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 () * 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.0001021/0.6728, allocations: 130 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.6729, allocations: 11.88 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.6729, allocations: 11.12 kB / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6729, allocations: 0 / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6729, allocations: 0 / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6729, allocations: 0 / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.673, allocations: 141.7 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6731, allocations: 0 / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-06/0.6731, allocations: 3.953 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6731, allocations: 4 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.6731, allocations: 3.984 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6731, allocations: 0 / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6731, allocations: 0 / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.6733, allocations: 94.16 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.6733, allocations: 81.09 kB / 0.5647 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.6734, allocations: 3.953 kB / 0.5647 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.6734, allocations: 0 / 0.5647 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.6734, allocations: 0 / 0.5647 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6735, allocations: 15.36 kB / 0.5647 GB, free: 10.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.6735, allocations: 75.31 kB / 0.5648 GB, free: 10.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6735, allocations: 4 kB / 0.5648 GB, free: 10.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.6738, allocations: 7.984 kB / 0.5648 GB, free: 10.11 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) * 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.0006651/0.6744, allocations: 0.6399 MB / 0.5655 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.6746, allocations: 67.36 kB / 0.5655 GB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6746, allocations: 3.375 kB / 0.5655 GB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.6746, allocations: 55.41 kB / 0.5656 GB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.934e-05/0.6748, allocations: 7.891 kB / 0.5656 GB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.6751, allocations: 100.4 kB / 0.5657 GB, free: 9.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.6754, allocations: 0.677 MB / 0.5663 GB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.6754, allocations: 7.438 kB / 0.5663 GB, free: 8.441 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6754, allocations: 0 / 0.5663 GB, free: 8.441 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.337/3.012, allocations: 0.5878 MB / 0.5669 GB, free: 7.859 MB / 378.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