Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 96.27 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 179.5 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 16 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08053/0.081, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001445/0.08249, allocations: 1.189 MB / 329.6 MB, free: 2.805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.08321, allocations: 0.5116 MB / 330.1 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.08326, allocations: 0 / 330.1 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.927e-05/0.08332, allocations: 4 kB / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.08339, allocations: 11.92 kB / 330.1 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.08351, allocations: 27.92 kB / 330.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.796e-05/0.08359, allocations: 39.88 kB / 330.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.08368, allocations: 12 kB / 330.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.08378, allocations: 23.92 kB / 330.2 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.08384, allocations: 23.91 kB / 330.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.08385, allocations: 4 kB / 330.3 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.08392, allocations: 15.92 kB / 330.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.08394, allocations: 11.92 kB / 330.3 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.08397, allocations: 29.7 kB / 330.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.693e-05/0.08406, allocations: 47.91 kB / 330.4 MB, free: 2.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.08407, allocations: 0 / 330.4 MB, free: 2.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08407, allocations: 0 / 330.4 MB, free: 2.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.08408, allocations: 0 / 330.4 MB, free: 2.031 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000527/0.08461, allocations: 391.3 kB / 330.7 MB, free: 1.602 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.08465, allocations: 12.03 kB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.08469, allocations: 34.56 kB / 330.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.08472, allocations: 4 kB / 330.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.08483, allocations: 178.9 kB / 331 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.08485, allocations: 4 kB / 331 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.08487, allocations: 11.98 kB / 331 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.08514, allocations: 89.64 kB / 331.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.08515, allocations: 0 / 331.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.08517, allocations: 0 / 331.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.08518, allocations: 8 kB / 331.1 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.08551, allocations: 99.86 kB / 331.2 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.08588, allocations: 308.8 kB / 331.5 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.08614, allocations: 90.56 kB / 331.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.08617, allocations: 0 / 331.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.08619, allocations: 30.56 kB / 331.6 MB, free: 0.625 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.0862, allocations: 0 / 331.6 MB, free: 0.625 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000553/0.08676, allocations: 185.6 kB / 331.8 MB, free: 448 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.0868, allocations: 51.41 kB / 331.8 MB, free: 384 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.08688, allocations: 121.7 kB / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.0869, allocations: 25.7 kB / 332 MB, free: 220 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.08695, allocations: 92.05 kB / 332.1 MB, free: 124 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.08697, allocations: 12.17 kB / 332.1 MB, free: 112 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.08699, allocations: 11.94 kB / 332.1 MB, free: 100 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.0871, allocations: 314.8 kB / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.08727, allocations: 47.95 kB / 332.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.08743, allocations: 51.91 kB / 332.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.08758, allocations: 47.95 kB / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.08759, allocations: 0 / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003437/0.08794, allocations: 133.6 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.08797, allocations: 8 kB / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.08798, allocations: 0 / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.08799, allocations: 0 / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.08812, allocations: 32.34 kB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.08813, allocations: 0 / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.08822, allocations: 23.83 kB / 332.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.08824, allocations: 11.95 kB / 332.7 MB, free: 15.43 MB / 286.1 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 (5): * Single equations (assignments): 5 * 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 7.788e-05/0.08832, allocations: 113.8 kB / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.08835, allocations: 0 / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.08875, allocations: 157.5 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.08876, allocations: 0 / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.08877, allocations: 0 / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.08878, allocations: 4 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.08895, allocations: 185.5 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.08896, allocations: 0 / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.08908, allocations: 35.91 kB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.08909, allocations: 0 / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.08911, allocations: 4 kB / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.08912, allocations: 0 / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.08912, allocations: 0 / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.08954, allocations: 243.4 kB / 333.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.08958, allocations: 89.02 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.0896, allocations: 0 / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.08972, allocations: 19.98 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.08976, allocations: 3.984 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.08977, allocations: 4 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.08982, allocations: 95.2 kB / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08982, allocations: 0 / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.09005, allocations: 8 kB / 333.7 MB, free: 14.38 MB / 286.1 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 (7): * Single equations (assignments): 7 * 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.0006534/0.09071, allocations: 0.7791 MB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.09107, allocations: 115.8 kB / 334.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.09108, allocations: 0 / 334.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.09126, allocations: 67.94 kB / 334.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.09145, allocations: 3.938 kB / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.09189, allocations: 212.5 kB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.09214, allocations: 0.6965 MB / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.09218, allocations: 3.984 kB / 335.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.09222, allocations: 23.38 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09223, allocations: 0 / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.1028, allocations: 1.633 MB / 337.2 MB, free: 10.78 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.103, allocations: 188.6 kB / 337.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.692, allocations: 0 / 337.4 MB, free: 10.54 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat