Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009322/0.0009322, allocations: 96.45 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4355/0.4355, allocations: 45.24 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002945, allocations: 8 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4035, allocations: 63.25 MB / 0.5193 GB, free: 43.83 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.5302, allocations: 90.87 MB / 0.608 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5305, allocations: 71.94 kB / 0.6081 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03213/0.5626, allocations: 10.29 MB / 0.6181 GB, free: 4.391 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5627, allocations: 3.938 kB / 0.6181 GB, free: 4.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.5627, allocations: 0 / 0.6181 GB, free: 4.387 MB / 426.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.0008355/0.5636, allocations: 496.6 kB / 0.6186 GB, free: 3.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.5636, allocations: 8.031 kB / 0.6186 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.5637, allocations: 30.56 kB / 0.6186 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.5637, allocations: 0 / 0.6186 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5639, allocations: 171 kB / 0.6188 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5639, allocations: 0 / 0.6188 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5639, allocations: 3.938 kB / 0.6188 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5641, allocations: 25.7 kB / 0.6188 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5641, allocations: 7.984 kB / 0.6188 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5641, allocations: 4 kB / 0.6188 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5641, allocations: 0 / 0.6188 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.5641, allocations: 0 / 0.6188 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.5643, allocations: 145.6 kB / 0.619 GB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.5644, allocations: 26.59 kB / 0.619 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.5644, allocations: 3.938 kB / 0.619 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.5645, allocations: 56.27 kB / 0.6191 GB, free: 3.246 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.5645, allocations: 4 kB / 0.6191 GB, free: 3.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002033/0.5647, allocations: 63.45 kB / 0.6191 GB, free: 3.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.5647, allocations: 81.05 kB / 0.6192 GB, free: 3.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.5648, allocations: 89 kB / 0.6193 GB, free: 2.977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.5648, allocations: 25.7 kB / 0.6193 GB, free: 2.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.5649, allocations: 80.14 kB / 0.6194 GB, free: 2.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.5649, allocations: 4 kB / 0.6194 GB, free: 2.859 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5649, allocations: 0 / 0.6194 GB, free: 2.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.565, allocations: 311 kB / 0.6197 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.5651, allocations: 4 kB / 0.6197 GB, free: 2.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.5651, allocations: 11.92 kB / 0.6197 GB, free: 2.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.5651, allocations: 25.7 kB / 0.6197 GB, free: 2.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5651, allocations: 3.953 kB / 0.6197 GB, free: 2.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.824e-05/0.5652, allocations: 59.41 kB / 0.6198 GB, free: 2.426 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.5653, allocations: 29.7 kB / 0.6198 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5653, allocations: 0 / 0.6198 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5653, allocations: 0 / 0.6198 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.5653, allocations: 4.094 kB / 0.6198 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5653, allocations: 7.984 kB / 0.6198 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.5653, allocations: 4 kB / 0.6198 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5654, allocations: 0 / 0.6198 GB, free: 2.375 MB / 426.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.0001127/0.5655, allocations: 139.5 kB / 0.62 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.5655, allocations: 3.953 kB / 0.62 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.5655, allocations: 6.719 kB / 0.62 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5655, allocations: 3.938 kB / 0.62 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5655, allocations: 0 / 0.62 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5655, allocations: 4 kB / 0.62 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.5657, allocations: 149.7 kB / 0.6201 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5657, allocations: 0 / 0.6201 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.5657, allocations: 3.953 kB / 0.6201 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5657, allocations: 3.938 kB / 0.6201 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.5657, allocations: 0 / 0.6201 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5657, allocations: 0 / 0.6201 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5657, allocations: 0 / 0.6201 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.5658, allocations: 94.83 kB / 0.6202 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.5659, allocations: 77.11 kB / 0.6203 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5659, allocations: 3.953 kB / 0.6203 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.5659, allocations: 4 kB / 0.6203 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.566, allocations: 3.938 kB / 0.6203 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.566, allocations: 0 / 0.6203 GB, free: 1.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.642e-05/0.566, allocations: 79.28 kB / 0.6204 GB, free: 1.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.566, allocations: 0 / 0.6204 GB, free: 1.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007557/0.5668, allocations: 199.6 kB / 0.6206 GB, free: 1.512 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.001512/0.5683, allocations: 0.9476 MB / 0.6215 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.5684, allocations: 59.39 kB / 0.6216 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5684, allocations: 0 / 0.6216 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.5685, allocations: 55.41 kB / 0.6216 GB, free: 412 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.5686, allocations: 7.891 kB / 0.6216 GB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.5692, allocations: 222.5 kB / 0.6218 GB, free: 140 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5695, allocations: 0.681 MB / 0.6225 GB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.073e-06/0.5695, allocations: 0 / 0.6225 GB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.5695, allocations: 11.42 kB / 0.6225 GB, free: 15.42 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5695, allocations: 0 / 0.6225 GB, free: 15.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.5904, allocations: 5.167 MB / 0.6276 GB, free: 10.41 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.5907, allocations: 215.5 kB / 0.6278 GB, free: 10.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.315, allocations: 0 / 0.6278 GB, free: 10.17 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat