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.001371/0.001371, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 90.28 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.388e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 58.85 MB / 477.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5462, allocations: 88.02 MB / 0.552 GB, free: 7.066 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.5465, allocations: 68.06 kB / 0.552 GB, free: 7.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.5706, allocations: 9.734 MB / 0.5615 GB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5707, allocations: 8 kB / 0.5615 GB, free: 15.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.5707, allocations: 0 / 0.5615 GB, free: 15.49 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.0005921/0.5713, allocations: 471.2 kB / 0.562 GB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5714, allocations: 8.031 kB / 0.562 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.5714, allocations: 0 / 0.562 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5715, allocations: 175 kB / 0.5622 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5715, allocations: 0 / 0.5622 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.5715, allocations: 0 / 0.5622 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.025e-05/0.5716, allocations: 0 / 0.5622 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.981e-05/0.5717, allocations: 37.64 kB / 0.5622 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5717, allocations: 4 kB / 0.5622 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.5717, allocations: 0 / 0.5622 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5717, allocations: 0 / 0.5622 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.5718, allocations: 133.5 kB / 0.5623 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.5719, allocations: 18.61 kB / 0.5624 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.5719, allocations: 8.844 kB / 0.5624 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.5719, allocations: 3.984 kB / 0.5624 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.572, allocations: 60.7 kB / 0.5624 GB, free: 14.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.572, allocations: 0 / 0.5624 GB, free: 14.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001812/0.5722, allocations: 36.58 kB / 0.5625 GB, free: 14.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.5722, allocations: 81.05 kB / 0.5625 GB, free: 14.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.79e-05/0.5723, allocations: 85 kB / 0.5626 GB, free: 14.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5723, allocations: 25.7 kB / 0.5626 GB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.5723, allocations: 80.14 kB / 0.5627 GB, free: 14.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.5724, allocations: 32 / 0.5627 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.5724, allocations: 4 kB / 0.5627 GB, free: 14.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5725, allocations: 318.8 kB / 0.563 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-06/0.5725, allocations: 0 / 0.563 GB, free: 13.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.5725, allocations: 0 / 0.563 GB, free: 13.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.781e-05/0.5726, allocations: 3.812 kB / 0.563 GB, free: 13.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5726, allocations: 0 / 0.563 GB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.589e-05/0.5726, allocations: 37.66 kB / 0.5631 GB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.5727, allocations: 29.7 kB / 0.5631 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.5727, allocations: 4.094 kB / 0.5631 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5727, allocations: 4 kB / 0.5631 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.5727, allocations: 0 / 0.5631 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5727, allocations: 3.984 kB / 0.5631 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.5727, allocations: 0 / 0.5631 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5728, allocations: 0 / 0.5631 GB, free: 13.69 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 8.698e-05/0.5728, allocations: 138.6 kB / 0.5632 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.889e-05/0.5729, allocations: 37.66 kB / 0.5633 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.5729, allocations: 2.75 kB / 0.5633 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.573, allocations: 11.77 kB / 0.5633 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.573, allocations: 0 / 0.5633 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.573, allocations: 0 / 0.5633 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.573, allocations: 4 kB / 0.5633 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.227e-05/0.5731, allocations: 122.2 kB / 0.5634 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5731, allocations: 3.938 kB / 0.5634 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.5731, allocations: 3.953 kB / 0.5634 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5731, allocations: 3.938 kB / 0.5634 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5731, allocations: 0 / 0.5634 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.5731, allocations: 0 / 0.5634 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5731, allocations: 4 kB / 0.5634 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.923e-05/0.5732, allocations: 67.94 kB / 0.5635 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.5733, allocations: 77.11 kB / 0.5636 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.5733, allocations: 3.953 kB / 0.5636 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.5733, allocations: 4 kB / 0.5636 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.5733, allocations: 3.984 kB / 0.5636 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.5733, allocations: 0 / 0.5636 GB, free: 13.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.5734, allocations: 83.31 kB / 0.5637 GB, free: 13.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5734, allocations: 0 / 0.5637 GB, free: 13.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.5739, allocations: 178.8 kB / 0.5638 GB, free: 12.88 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.001039/0.575, allocations: 0.8799 MB / 0.5647 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.5751, allocations: 55.41 kB / 0.5647 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5751, allocations: 3.312 kB / 0.5647 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.5751, allocations: 59.34 kB / 0.5648 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.984e-05/0.5752, allocations: 11.52 kB / 0.5648 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.5756, allocations: 173.4 kB / 0.565 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.5759, allocations: 0.6806 MB / 0.5656 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.75e-06/0.5759, allocations: 0 / 0.5656 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.5759, allocations: 7.438 kB / 0.5656 GB, free: 10.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5759, allocations: 0 / 0.5656 GB, free: 10.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.6027, allocations: 4.671 MB / 0.5702 GB, free: 6.277 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.603, allocations: 170.3 kB / 0.5704 GB, free: 6.082 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.212, allocations: 6.188 kB / 0.5704 GB, free: 6.078 MB / 378.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