Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",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.0009867/0.0009868, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.604/1.604, 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.001067/0.001067, allocations: 90.8 kB / 270.2 MB, free: 13.37 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.2414/0.2414, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 58.87 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.432/0.5747, allocations: 88.77 MB / 0.5655 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.575, allocations: 68.25 kB / 0.5656 GB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02935/0.6044, allocations: 9.919 MB / 0.5753 GB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6045, allocations: 4 kB / 0.5753 GB, free: 2.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.6045, allocations: 0 / 0.5753 GB, free: 2.332 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.0007012/0.6052, allocations: 483.3 kB / 0.5757 GB, free: 1.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.6052, allocations: 8.031 kB / 0.5758 GB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.6053, allocations: 34.56 kB / 0.5758 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.6053, allocations: 0 / 0.5758 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.6054, allocations: 163 kB / 0.5759 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.6055, allocations: 0 / 0.5759 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6055, allocations: 4 kB / 0.5759 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.6056, allocations: 37.62 kB / 0.576 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6056, allocations: 0 / 0.576 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.6056, allocations: 0 / 0.576 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6056, allocations: 4 kB / 0.576 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.6056, allocations: 0 / 0.576 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.6058, allocations: 148.2 kB / 0.5761 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.627e-05/0.6059, allocations: 25.53 kB / 0.5762 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.6059, allocations: 3.984 kB / 0.5762 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.6059, allocations: 64.64 kB / 0.5762 GB, free: 1.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.6059, allocations: 3.938 kB / 0.5762 GB, free: 1.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.6061, allocations: 59.47 kB / 0.5763 GB, free: 1.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.6062, allocations: 80.48 kB / 0.5764 GB, free: 1.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.025e-05/0.6062, allocations: 85 kB / 0.5764 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.6063, allocations: 25.7 kB / 0.5765 GB, free: 0.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.6063, allocations: 88.12 kB / 0.5765 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.6063, allocations: 8.062 kB / 0.5766 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.6063, allocations: 0 / 0.5766 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6065, allocations: 310.8 kB / 0.5768 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.6065, allocations: 0 / 0.5768 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-06/0.6065, allocations: 0 / 0.5768 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.6065, allocations: 29.7 kB / 0.5769 GB, free: 484 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6065, allocations: 3.953 kB / 0.5769 GB, free: 480 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.571e-05/0.6066, allocations: 65.84 kB / 0.5769 GB, free: 404 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.6067, allocations: 33.78 kB / 0.577 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6067, allocations: 4 kB / 0.577 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6068, allocations: 0 / 0.577 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/0.6068, allocations: 0 / 0.577 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6068, allocations: 0 / 0.577 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.6068, allocations: 4 kB / 0.577 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.6068, allocations: 0 / 0.577 GB, free: 356 kB / 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 0.0001009/0.6069, allocations: 139.1 kB / 0.5771 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.6069, allocations: 7.953 kB / 0.5771 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.607, allocations: 3.125 kB / 0.5771 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.607, allocations: 4 kB / 0.5771 GB, free: 184 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.607, allocations: 3.984 kB / 0.5771 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.607, allocations: 0 / 0.5771 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.6071, allocations: 145.7 kB / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6071, allocations: 4 kB / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-06/0.6071, allocations: 3.953 kB / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6071, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.6071, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6072, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6072, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.6073, allocations: 98.14 kB / 0.5774 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.6073, allocations: 77.11 kB / 0.5774 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.6074, allocations: 7.891 kB / 0.5775 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.6074, allocations: 7.984 kB / 0.5775 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.6074, allocations: 4 kB / 0.5775 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.6074, allocations: 3.125 kB / 0.5775 GB, free: 15.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.036e-05/0.6074, allocations: 75.28 kB / 0.5775 GB, free: 15.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6074, allocations: 4.031 kB / 0.5775 GB, free: 15.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006779/0.6081, allocations: 171.5 kB / 0.5777 GB, free: 15.52 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.001387/0.6095, allocations: 0.9363 MB / 0.5786 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.6096, allocations: 55.41 kB / 0.5787 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6097, allocations: 0 / 0.5787 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.6097, allocations: 59.22 kB / 0.5787 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.6098, allocations: 3.953 kB / 0.5787 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.6104, allocations: 204.2 kB / 0.5789 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.6107, allocations: 0.677 MB / 0.5796 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.731e-06/0.6107, allocations: 0 / 0.5796 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.6107, allocations: 7.438 kB / 0.5796 GB, free: 13.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.6108, allocations: 0 / 0.5796 GB, free: 13.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.634, allocations: 4.813 MB / 0.5843 GB, free: 8.699 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.6343, allocations: 216.9 kB / 0.5845 GB, free: 8.457 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.357, allocations: 4 kB / 0.5845 GB, free: 8.453 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat