Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks",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.001635/0.001635, allocations: 181.3 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.149/2.149, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00116/0.00116, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.291/0.291, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.491e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.6295, allocations: 89.07 MB / 0.5599 GB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.6299, allocations: 64.58 kB / 0.5599 GB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02925/0.6591, allocations: 6.082 MB / 0.5659 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6592, allocations: 4 kB / 0.5659 GB, free: 8.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.6592, allocations: 8 kB / 0.5659 GB, free: 8.832 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008628/0.6601, allocations: 482.3 kB / 0.5663 GB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.6602, allocations: 12.03 kB / 0.5663 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.6603, allocations: 86.22 kB / 0.5664 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6615, allocations: 67.17 kB / 0.5665 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.6618, allocations: 202.6 kB / 0.5667 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.6619, allocations: 24.47 kB / 0.5667 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.662, allocations: 27.56 kB / 0.5667 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.6626, allocations: 215 kB / 0.5669 GB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6626, allocations: 4 kB / 0.5669 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.6627, allocations: 9.562 kB / 0.567 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6627, allocations: 8 kB / 0.567 GB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.6632, allocations: 151.4 kB / 0.5671 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.6647, allocations: 0.6481 MB / 0.5677 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/0.6656, allocations: 222.8 kB / 0.568 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.6658, allocations: 62.56 kB / 0.568 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.6659, allocations: 8.234 kB / 0.568 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.6659, allocations: 34.3 kB / 0.5681 GB, free: 6.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.476e-06/0.6659, allocations: 0 / 0.5681 GB, free: 6.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005069/0.6664, allocations: 163.5 kB / 0.5682 GB, free: 6.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.6665, allocations: 55.41 kB / 0.5683 GB, free: 6.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.6666, allocations: 96.88 kB / 0.5684 GB, free: 6.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.6667, allocations: 29.02 kB / 0.5684 GB, free: 6.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6668, allocations: 214 kB / 0.5686 GB, free: 6.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6669, allocations: 103.8 kB / 0.5687 GB, free: 6.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.667, allocations: 3.938 kB / 0.5687 GB, free: 6.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6671, allocations: 318 kB / 0.569 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.6673, allocations: 34.56 kB / 0.569 GB, free: 5.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.6674, allocations: 34.62 kB / 0.5691 GB, free: 5.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.6675, allocations: 47.53 kB / 0.5691 GB, free: 5.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6676, allocations: 4 kB / 0.5691 GB, free: 5.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004022/0.668, allocations: 149.3 kB / 0.5692 GB, free: 5.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.668, allocations: 4 kB / 0.5693 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.668, allocations: 64 / 0.5693 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.6681, allocations: 12 kB / 0.5693 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.6689, allocations: 107.2 kB / 0.5694 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.6689, allocations: 0 / 0.5694 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.6691, allocations: 15.66 kB / 0.5694 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.6691, allocations: 8 kB / 0.5694 GB, free: 5.457 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001286/0.6692, allocations: 118 kB / 0.5695 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.6693, allocations: 19.75 kB / 0.5695 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.6694, allocations: 25.86 kB / 0.5695 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6694, allocations: 4 kB / 0.5695 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6694, allocations: 3.953 kB / 0.5696 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.6695, allocations: 0 / 0.5696 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.6699, allocations: 282.8 kB / 0.5698 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.67, allocations: 0 / 0.5698 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.6707, allocations: 99.89 kB / 0.5699 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6708, allocations: 0 / 0.5699 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.6708, allocations: 7.125 kB / 0.5699 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6708, allocations: 3.984 kB / 0.5699 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6708, allocations: 0 / 0.5699 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.6713, allocations: 257.7 kB / 0.5702 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.6714, allocations: 92.95 kB / 0.5703 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.6714, allocations: 3.875 kB / 0.5703 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6716, allocations: 7.438 kB / 0.5703 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.6717, allocations: 23.28 kB / 0.5703 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.6717, allocations: 7.938 kB / 0.5703 GB, free: 4.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.6718, allocations: 82.97 kB / 0.5704 GB, free: 4.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6718, allocations: 0 / 0.5704 GB, free: 4.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.6722, allocations: 61.7 kB / 0.5704 GB, free: 4.406 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0009608/0.6732, allocations: 0.8585 MB / 0.5713 GB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.6736, allocations: 116 kB / 0.5714 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6736, allocations: 0 / 0.5714 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.6738, allocations: 69.61 kB / 0.5715 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.674, allocations: 7.5 kB / 0.5715 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.6751, allocations: 354.8 kB / 0.5718 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.6756, allocations: 0.748 MB / 0.5725 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.6758, allocations: 65.73 kB / 0.5726 GB, free: 2.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6758, allocations: 4 kB / 0.5726 GB, free: 2.273 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.392/3.067, allocations: 2.546 MB / 0.5751 GB, free: 15.75 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat