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.001183/0.001183, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009205, allocations: 95.66 kB / 281.6 MB, free: 5.324 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.2231/0.2231, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.838e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 61.92 MB / 0.4948 GB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.6485, allocations: 85.8 MB / 0.5785 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.6488, allocations: 59.97 kB / 0.5786 GB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.6676, allocations: 6.446 MB / 0.5849 GB, free: 4.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6676, allocations: 0 / 0.5849 GB, free: 4.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.6676, allocations: 0 / 0.5849 GB, free: 4.102 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.0003428/0.668, allocations: 368.2 kB / 0.5853 GB, free: 3.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6681, allocations: 15.98 kB / 0.5853 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.6681, allocations: 0 / 0.5853 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.6682, allocations: 159.1 kB / 0.5854 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.6682, allocations: 3.938 kB / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.6682, allocations: 0 / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.499e-05/0.6683, allocations: 7.953 kB / 0.5854 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.47e-05/0.6684, allocations: 29.69 kB / 0.5855 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6684, allocations: 0 / 0.5855 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.6684, allocations: 0 / 0.5855 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6684, allocations: 4 kB / 0.5855 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.6685, allocations: 130.2 kB / 0.5856 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.6686, allocations: 14.58 kB / 0.5856 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.6686, allocations: 4.859 kB / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.6686, allocations: 0 / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.6687, allocations: 64.3 kB / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.6687, allocations: 0 / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001839/0.6689, allocations: 41.64 kB / 0.5857 GB, free: 3.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.6689, allocations: 77.11 kB / 0.5858 GB, free: 3.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.368e-05/0.669, allocations: 89 kB / 0.5859 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.669, allocations: 29.7 kB / 0.5859 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.669, allocations: 80.14 kB / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.6691, allocations: 0 / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6691, allocations: 0 / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6692, allocations: 310.8 kB / 0.5863 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.6692, allocations: 4.031 kB / 0.5863 GB, free: 2.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.6692, allocations: 0 / 0.5863 GB, free: 2.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.6693, allocations: 7.984 kB / 0.5863 GB, free: 2.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6693, allocations: 3.938 kB / 0.5863 GB, free: 2.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.476e-05/0.6694, allocations: 38.48 kB / 0.5863 GB, free: 2.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.6694, allocations: 29.7 kB / 0.5863 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6694, allocations: 0 / 0.5863 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6694, allocations: 3.984 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.6694, allocations: 0 / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6695, allocations: 4.047 kB / 0.5864 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.6695, allocations: 15.98 kB / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6695, allocations: 0 / 0.5864 GB, free: 2.375 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 () * 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.669e-05/0.6696, allocations: 130.7 kB / 0.5865 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.549e-05/0.6697, allocations: 41.64 kB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.6697, allocations: 0 / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.6697, allocations: 11.69 kB / 0.5865 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6697, allocations: 3.953 kB / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6697, allocations: 0 / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6697, allocations: 4.031 kB / 0.5866 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.6698, allocations: 126.2 kB / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6698, allocations: 0 / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.6698, allocations: 3.938 kB / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.6698, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.6699, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.6699, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6699, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.67, allocations: 73.08 kB / 0.5867 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.67, allocations: 77.11 kB / 0.5868 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.67, allocations: 0 / 0.5868 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.6701, allocations: 0 / 0.5868 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.6701, allocations: 3.984 kB / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.6701, allocations: 4 kB / 0.5868 GB, free: 1.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.156e-05/0.6701, allocations: 79.23 kB / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6701, allocations: 0 / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.6703, allocations: 8 kB / 0.5869 GB, free: 1.727 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) * 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.0005604/0.6709, allocations: 0.6127 MB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.671, allocations: 63.34 kB / 0.5876 GB, free: 1.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.671, allocations: 96 / 0.5876 GB, free: 1.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.6711, allocations: 55.41 kB / 0.5876 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.6712, allocations: 11.92 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.6714, allocations: 65.73 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6717, allocations: 0.6768 MB / 0.5884 GB, free: 132 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.77e-06/0.6717, allocations: 0 / 0.5884 GB, free: 132 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.6718, allocations: 7.438 kB / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6718, allocations: 3.938 kB / 0.5884 GB, free: 120 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.6895, allocations: 0.5531 MB / 0.5889 GB, free: 15.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/0.6899, allocations: 157.8 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.228, allocations: 4.031 kB / 0.5891 GB, free: 15.38 MB / 410.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