Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal",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.002271/0.002271, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001132/0.001132, allocations: 78.66 kB / 267.5 MB, free: 14.04 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.2929/0.2929, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.427e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.6023, allocations: 84.64 MB / 0.5555 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.6025, allocations: 65.81 kB / 0.5556 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005784/0.6083, allocations: 1.667 MB / 0.5572 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6084, allocations: 0 / 0.5572 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.6084, allocations: 2.844 kB / 0.5572 GB, free: 0.9688 MB / 362.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.0002569/0.6087, allocations: 359.9 kB / 0.5576 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6087, allocations: 8.031 kB / 0.5576 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.6088, allocations: 34.56 kB / 0.5576 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.6088, allocations: 0 / 0.5576 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.292e-05/0.6089, allocations: 163 kB / 0.5578 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.6089, allocations: 0 / 0.5578 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.6089, allocations: 2.906 kB / 0.5578 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.914e-05/0.609, allocations: 33.69 kB / 0.5578 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.609, allocations: 0 / 0.5578 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6091, allocations: 3.938 kB / 0.5578 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6091, allocations: 0 / 0.5578 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.6091, allocations: 3.938 kB / 0.5578 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.6092, allocations: 153.6 kB / 0.558 GB, free: 80 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.692e-05/0.6093, allocations: 14.58 kB / 0.558 GB, free: 56 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.6093, allocations: 8.953 kB / 0.558 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.6093, allocations: 0 / 0.558 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.623e-05/0.6094, allocations: 64.06 kB / 0.558 GB, free: 15.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.6094, allocations: 0 / 0.558 GB, free: 15.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001866/0.6096, allocations: 63.34 kB / 0.5581 GB, free: 15.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.6097, allocations: 81.14 kB / 0.5582 GB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.6098, allocations: 85 kB / 0.5583 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.6098, allocations: 25.7 kB / 0.5583 GB, free: 15.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.6099, allocations: 150.6 kB / 0.5584 GB, free: 15.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.6099, allocations: 0 / 0.5584 GB, free: 15.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.6099, allocations: 3.609 kB / 0.5584 GB, free: 15.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6101, allocations: 318.8 kB / 0.5587 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.6101, allocations: 3.875 kB / 0.5587 GB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.6101, allocations: 4 kB / 0.5587 GB, free: 15.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.6102, allocations: 29.7 kB / 0.5588 GB, free: 15.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6102, allocations: 3.953 kB / 0.5588 GB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.6103, allocations: 55.41 kB / 0.5588 GB, free: 15.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.6103, allocations: 33.7 kB / 0.5589 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6104, allocations: 0 / 0.5589 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6104, allocations: 7.922 kB / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.6104, allocations: 0 / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6104, allocations: 0 / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.6104, allocations: 4.094 kB / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.6105, allocations: 4 kB / 0.5589 GB, free: 15.04 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 0.0001074/0.6106, allocations: 126.7 kB / 0.559 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.6106, allocations: 7.891 kB / 0.559 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.6106, allocations: 3.125 kB / 0.559 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.6107, allocations: 4 kB / 0.559 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6107, allocations: 0 / 0.559 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6107, allocations: 0 / 0.559 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.6108, allocations: 149.5 kB / 0.5592 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.6109, allocations: 4 kB / 0.5592 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.6109, allocations: 3.953 kB / 0.5592 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6109, allocations: 4 kB / 0.5592 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6109, allocations: 4 kB / 0.5592 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6109, allocations: 0 / 0.5592 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6109, allocations: 0 / 0.5592 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.6111, allocations: 94.64 kB / 0.5593 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.6111, allocations: 77.11 kB / 0.5593 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.6112, allocations: 7.984 kB / 0.5593 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.299e-05/0.6112, allocations: 0 / 0.5593 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.6112, allocations: 0 / 0.5593 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.6112, allocations: 7.984 kB / 0.5594 GB, free: 14.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.6113, allocations: 79.11 kB / 0.5594 GB, free: 14.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6113, allocations: 0 / 0.5594 GB, free: 14.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.6116, allocations: 35.78 kB / 0.5595 GB, free: 14.35 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.001016/0.6126, allocations: 0.779 MB / 0.5602 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.6128, allocations: 59.22 kB / 0.5603 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6128, allocations: 0 / 0.5603 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.6128, allocations: 59.47 kB / 0.5603 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.6129, allocations: 3.953 kB / 0.5603 GB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.6133, allocations: 118.2 kB / 0.5605 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.6136, allocations: 0.677 MB / 0.5611 GB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.6136, allocations: 7.438 kB / 0.5611 GB, free: 12.57 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6136, allocations: 0 / 0.5611 GB, free: 12.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.534, allocations: 1.126 MB / 0.5622 GB, free: 11.45 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat