Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions",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.001577/0.001577, allocations: 185.6 kB / 17.06 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 95.47 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5066/0.5066, allocations: 44.23 MB / 387.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 460 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4238, allocations: 61.9 MB / 0.5096 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.56, allocations: 86.53 MB / 0.5941 GB, free: 8.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5604, allocations: 67.94 kB / 0.5942 GB, free: 8.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01972/0.5801, allocations: 6.477 MB / 0.6005 GB, free: 2.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5802, allocations: 0 / 0.6005 GB, free: 2.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.5802, allocations: 4 kB / 0.6005 GB, free: 2.047 MB / 410.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.0003991/0.5806, allocations: 369 kB / 0.6009 GB, free: 1.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.5807, allocations: 8.031 kB / 0.6009 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.5808, allocations: 34.56 kB / 0.6009 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.5808, allocations: 0 / 0.6009 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5809, allocations: 163.1 kB / 0.6011 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5809, allocations: 0 / 0.6011 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.5809, allocations: 7.891 kB / 0.6011 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.5811, allocations: 33.69 kB / 0.6011 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5811, allocations: 0 / 0.6011 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5811, allocations: 0 / 0.6011 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5811, allocations: 0 / 0.6011 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.5811, allocations: 0 / 0.6011 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.5813, allocations: 157.6 kB / 0.6013 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.5813, allocations: 18.56 kB / 0.6013 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5814, allocations: 3.938 kB / 0.6013 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.5814, allocations: 64.31 kB / 0.6014 GB, free: 1.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.5814, allocations: 0 / 0.6014 GB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002745/0.5817, allocations: 63.31 kB / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.5818, allocations: 81.11 kB / 0.6015 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.5818, allocations: 93.06 kB / 0.6016 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5819, allocations: 25.7 kB / 0.6016 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.5819, allocations: 84.12 kB / 0.6017 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.5819, allocations: 0 / 0.6017 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.5819, allocations: 0 / 0.6017 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5821, allocations: 310.8 kB / 0.602 GB, free: 332 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.5821, allocations: 4 kB / 0.602 GB, free: 328 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-06/0.5821, allocations: 3.938 kB / 0.602 GB, free: 324 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.5821, allocations: 33.77 kB / 0.602 GB, free: 284 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5821, allocations: 0 / 0.602 GB, free: 284 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.139e-05/0.5822, allocations: 59.41 kB / 0.6021 GB, free: 212 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.5823, allocations: 33.69 kB / 0.6021 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5823, allocations: 4 kB / 0.6021 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5823, allocations: 3.953 kB / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.5823, allocations: 0 / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5823, allocations: 0 / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.5823, allocations: 0 / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5824, allocations: 0 / 0.6021 GB, free: 164 kB / 410.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.952e-05/0.5825, allocations: 140.1 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.5825, allocations: 0 / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.5825, allocations: 10.72 kB / 0.6023 GB, free: 0 / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.5825, allocations: 64 / 0.6023 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5825, allocations: 7.938 kB / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5826, allocations: 4 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.5827, allocations: 145.6 kB / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5827, allocations: 0 / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.5827, allocations: 0 / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5827, allocations: 3.938 kB / 0.6024 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5827, allocations: 4 kB / 0.6024 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5827, allocations: 7.938 kB / 0.6024 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5827, allocations: 0 / 0.6024 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.5828, allocations: 90.78 kB / 0.6025 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.5829, allocations: 81.09 kB / 0.6026 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.5829, allocations: 4 kB / 0.6026 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.5829, allocations: 3.984 kB / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.5829, allocations: 4.031 kB / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.5829, allocations: 0 / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.583, allocations: 79.23 kB / 0.6027 GB, free: 15.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.583, allocations: 0 / 0.6027 GB, free: 15.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.5832, allocations: 15.98 kB / 0.6027 GB, free: 15.46 MB / 426.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.0005452/0.5837, allocations: 0.6369 MB / 0.6033 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.5839, allocations: 63.41 kB / 0.6034 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5839, allocations: 0 / 0.6034 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.5839, allocations: 59.39 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.671e-05/0.584, allocations: 0 / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.5843, allocations: 104.5 kB / 0.6035 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5845, allocations: 0.6809 MB / 0.6042 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.956e-06/0.5845, allocations: 4 kB / 0.6042 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.5846, allocations: 7.438 kB / 0.6042 GB, free: 13.79 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5846, allocations: 0 / 0.6042 GB, free: 13.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.5984, allocations: 0.8314 MB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.5986, allocations: 216.3 kB / 0.6052 GB, free: 12.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.084, allocations: 0 / 0.6052 GB, free: 12.82 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat