Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001028, allocations: 103.2 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3419/0.3419, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 8 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 61.9 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4403, allocations: 90.76 MB / 0.5983 GB, free: 4.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4406, allocations: 67.94 kB / 0.5983 GB, free: 4.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4576, allocations: 6.241 MB / 0.6044 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4577, allocations: 0 / 0.6044 GB, free: 13.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.4577, allocations: 4 kB / 0.6044 GB, free: 13.95 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006243/0.4584, allocations: 499 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4584, allocations: 8.031 kB / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.4585, allocations: 82.98 kB / 0.605 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.4593, allocations: 75.58 kB / 0.6051 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4594, allocations: 186.8 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4595, allocations: 24.66 kB / 0.6053 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.4595, allocations: 31.95 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.4599, allocations: 226.1 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4599, allocations: 0 / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.46, allocations: 12 kB / 0.6055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.46, allocations: 8 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.4603, allocations: 170.5 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.4613, allocations: 0.6555 MB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.4618, allocations: 235.5 kB / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4618, allocations: 4.234 kB / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.4619, allocations: 34.8 kB / 0.6066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.4619, allocations: 0 / 0.6066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004398/0.4623, allocations: 220.3 kB / 0.6068 GB, free: 11.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4624, allocations: 55.41 kB / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.4624, allocations: 108.9 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4625, allocations: 29.7 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.4625, allocations: 156.2 kB / 0.6071 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.4626, allocations: 86.67 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.4626, allocations: 4 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4628, allocations: 326.8 kB / 0.6075 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.602e-05/0.4629, allocations: 47.97 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.4629, allocations: 43.97 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.4631, allocations: 53.39 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4631, allocations: 0 / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002657/0.4633, allocations: 169.5 kB / 0.6078 GB, free: 10.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4634, allocations: 8 kB / 0.6078 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4634, allocations: 0 / 0.6078 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4634, allocations: 4 kB / 0.6079 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.4638, allocations: 103.8 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4638, allocations: 0 / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.4639, allocations: 15.84 kB / 0.608 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4639, allocations: 12 kB / 0.608 GB, free: 10.09 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001188/0.464, allocations: 134.2 kB / 0.6081 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.464, allocations: 11.91 kB / 0.6081 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.4641, allocations: 25.12 kB / 0.6081 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4641, allocations: 4 kB / 0.6081 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4641, allocations: 0 / 0.6081 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4641, allocations: 0 / 0.6081 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.4645, allocations: 289.3 kB / 0.6084 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4645, allocations: 0 / 0.6084 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.4649, allocations: 103.9 kB / 0.6085 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4649, allocations: 4 kB / 0.6085 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4649, allocations: 4 kB / 0.6085 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4649, allocations: 0 / 0.6085 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4649, allocations: 0 / 0.6085 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.4652, allocations: 279.2 kB / 0.6088 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.4653, allocations: 88.95 kB / 0.6089 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4653, allocations: 8 kB / 0.6089 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.4654, allocations: 8 kB / 0.6089 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.4655, allocations: 11.97 kB / 0.6089 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.4655, allocations: 12 kB / 0.6089 GB, free: 9.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.4655, allocations: 83.28 kB / 0.609 GB, free: 8.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.634e-06/0.4656, allocations: 0 / 0.609 GB, free: 8.953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.4659, allocations: 55.69 kB / 0.609 GB, free: 8.898 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0007892/0.4667, allocations: 0.8852 MB / 0.6099 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.467, allocations: 131.9 kB / 0.61 GB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.467, allocations: 0 / 0.61 GB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4671, allocations: 83.89 kB / 0.6101 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.4672, allocations: 4 kB / 0.6101 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4689, allocations: 1.139 MB / 0.6112 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.4692, allocations: 0.748 MB / 0.612 GB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.4693, allocations: 17.41 kB / 0.612 GB, free: 5.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4695, allocations: 67.41 kB / 0.612 GB, free: 5.723 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4695, allocations: 0 / 0.612 GB, free: 5.723 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.4844, allocations: 2.345 MB / 0.6143 GB, free: 3.488 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.4846, allocations: 173 kB / 0.6145 GB, free: 3.242 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.917, allocations: 0 / 0.6145 GB, free: 3.242 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat