Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_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.001919/0.001919, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.736/1.736, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008092/0.0008092, allocations: 86.59 kB / 267.1 MB, free: 9.273 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.4199/0.4199, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 8 kB / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 58.84 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5881, allocations: 89.06 MB / 0.5599 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5884, allocations: 66.34 kB / 0.5599 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.6048, allocations: 6.088 MB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6048, allocations: 0 / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.6049, allocations: 4 kB / 0.5659 GB, free: 11.24 MB / 394.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.0006097/0.6055, allocations: 484.7 kB / 0.5663 GB, free: 10.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.6055, allocations: 8.031 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.6057, allocations: 97.88 kB / 0.5664 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/0.6066, allocations: 67.11 kB / 0.5665 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.6068, allocations: 190.6 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.6068, allocations: 20.47 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.6068, allocations: 35.44 kB / 0.5667 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.6072, allocations: 216.2 kB / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.6072, allocations: 0 / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.6072, allocations: 13 kB / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6073, allocations: 12 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.6075, allocations: 145.5 kB / 0.5671 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.6083, allocations: 0.6616 MB / 0.5678 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.6088, allocations: 221.8 kB / 0.568 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.6089, allocations: 60.14 kB / 0.568 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.6089, allocations: 8.172 kB / 0.568 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.609, allocations: 34.67 kB / 0.5681 GB, free: 9.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.609, allocations: 0 / 0.5681 GB, free: 9.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003201/0.6093, allocations: 154.8 kB / 0.5682 GB, free: 9.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.6093, allocations: 59.39 kB / 0.5683 GB, free: 8.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.6094, allocations: 100.4 kB / 0.5684 GB, free: 8.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6094, allocations: 29.64 kB / 0.5684 GB, free: 8.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.6095, allocations: 144.2 kB / 0.5685 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.6096, allocations: 86.03 kB / 0.5686 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.6096, allocations: 3.5 kB / 0.5686 GB, free: 8.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6097, allocations: 326.2 kB / 0.5689 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.6098, allocations: 31.69 kB / 0.569 GB, free: 8.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.6099, allocations: 42.97 kB / 0.569 GB, free: 8.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.728e-05/0.61, allocations: 53.81 kB / 0.5691 GB, free: 8.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.61, allocations: 4 kB / 0.5691 GB, free: 8.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001921/0.6102, allocations: 152.2 kB / 0.5692 GB, free: 8.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6102, allocations: 8 kB / 0.5692 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6102, allocations: 0 / 0.5692 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.6102, allocations: 0 / 0.5692 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.6106, allocations: 103.8 kB / 0.5693 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.6106, allocations: 8.25 kB / 0.5693 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.6107, allocations: 19.38 kB / 0.5693 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.6107, allocations: 11.88 kB / 0.5694 GB, free: 7.938 MB / 394.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 6.081e-05/0.6108, allocations: 108.9 kB / 0.5695 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6108, allocations: 7.906 kB / 0.5695 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.6109, allocations: 32.3 kB / 0.5695 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6109, allocations: 4 kB / 0.5695 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6109, allocations: 3.953 kB / 0.5695 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6109, allocations: 0 / 0.5695 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.6111, allocations: 287.8 kB / 0.5698 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6112, allocations: 2.062 kB / 0.5698 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.6115, allocations: 99.89 kB / 0.5699 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6115, allocations: 0 / 0.5699 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.6115, allocations: 3.875 kB / 0.5699 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6115, allocations: 7.984 kB / 0.5699 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6115, allocations: 7.984 kB / 0.5699 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.6118, allocations: 257.5 kB / 0.5701 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.6118, allocations: 88.95 kB / 0.5702 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.6118, allocations: 7.875 kB / 0.5702 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.6119, allocations: 7.688 kB / 0.5702 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.612, allocations: 11.97 kB / 0.5702 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.612, allocations: 11.98 kB / 0.5703 GB, free: 7.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.876e-05/0.612, allocations: 90.28 kB / 0.5703 GB, free: 6.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.612, allocations: 0 / 0.5703 GB, free: 6.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000241/0.6123, allocations: 63.23 kB / 0.5704 GB, free: 6.891 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: 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.000477/0.6127, allocations: 0.847 MB / 0.5712 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.6129, allocations: 118.8 kB / 0.5713 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6129, allocations: 4 kB / 0.5714 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.613, allocations: 79.36 kB / 0.5714 GB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.6132, allocations: 3.938 kB / 0.5714 GB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.6137, allocations: 323.4 kB / 0.5717 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.6139, allocations: 0.748 MB / 0.5725 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.614, allocations: 17.2 kB / 0.5725 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.6141, allocations: 69.53 kB / 0.5726 GB, free: 4.785 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6141, allocations: 0 / 0.5726 GB, free: 4.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.6264, allocations: 2.324 MB / 0.5748 GB, free: 2.531 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.6266, allocations: 141.5 kB / 0.575 GB, free: 2.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.329, allocations: 0 / 0.575 GB, free: 2.309 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat