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.001616/0.001616, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000924/0.0009239, allocations: 90.61 kB / 261.8 MB, free: 1.68 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.2639/0.2639, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.076e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 58.86 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5797, allocations: 88.4 MB / 0.5524 GB, free: 6.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.5799, allocations: 67.44 kB / 0.5524 GB, free: 6.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.5944, allocations: 6.047 MB / 0.5583 GB, free: 1.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5945, allocations: 0 / 0.5583 GB, free: 1.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.5945, allocations: 4 kB / 0.5583 GB, free: 1.801 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004113/0.5949, allocations: 483.4 kB / 0.5588 GB, free: 1.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.595, allocations: 12.03 kB / 0.5588 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.5957, allocations: 59.67 kB / 0.5589 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.5958, allocations: 190.4 kB / 0.559 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5959, allocations: 8 kB / 0.559 GB, free: 1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.5959, allocations: 12 kB / 0.5591 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002164/0.5961, allocations: 119.7 kB / 0.5592 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.5964, allocations: 155.2 kB / 0.5593 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5964, allocations: 0 / 0.5593 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.5964, allocations: 0 / 0.5593 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5964, allocations: 8 kB / 0.5593 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.5972, allocations: 0.5393 MB / 0.5599 GB, free: 256 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.5976, allocations: 202.2 kB / 0.56 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.5977, allocations: 56 kB / 0.5601 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.5977, allocations: 240 / 0.5601 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.5978, allocations: 42.17 kB / 0.5601 GB, free: 15.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.5978, allocations: 0 / 0.5601 GB, free: 15.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003133/0.5981, allocations: 140.5 kB / 0.5603 GB, free: 15.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.5981, allocations: 55.41 kB / 0.5603 GB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.5982, allocations: 92.06 kB / 0.5604 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5983, allocations: 29.7 kB / 0.5604 GB, free: 15.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.5983, allocations: 135.6 kB / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.5984, allocations: 89.47 kB / 0.5607 GB, free: 15.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.5984, allocations: 3.5 kB / 0.5607 GB, free: 15.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5986, allocations: 318.5 kB / 0.561 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.5986, allocations: 30.44 kB / 0.561 GB, free: 15.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.5987, allocations: 34.5 kB / 0.561 GB, free: 15.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.5988, allocations: 46.2 kB / 0.5611 GB, free: 15.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5988, allocations: 3.938 kB / 0.5611 GB, free: 15.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001899/0.599, allocations: 140.2 kB / 0.5612 GB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.599, allocations: 4 kB / 0.5612 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.599, allocations: 0 / 0.5612 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.599, allocations: 7.938 kB / 0.5612 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.5994, allocations: 95.94 kB / 0.5613 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5994, allocations: 0 / 0.5613 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.5995, allocations: 15.84 kB / 0.5613 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5995, allocations: 7 kB / 0.5613 GB, free: 14.83 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.0001003/0.5996, allocations: 108.9 kB / 0.5614 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002296/0.5999, allocations: 146.8 kB / 0.5616 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.5999, allocations: 7.906 kB / 0.5616 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.6, allocations: 20.19 kB / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6, allocations: 4 kB / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6, allocations: 0 / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6, allocations: 0 / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.6003, allocations: 220 kB / 0.5618 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6003, allocations: 3.938 kB / 0.5618 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.6007, allocations: 103.1 kB / 0.5619 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.6007, allocations: 3.953 kB / 0.5619 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6007, allocations: 0 / 0.5619 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6007, allocations: 0 / 0.5619 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6007, allocations: 4 kB / 0.5619 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.601, allocations: 243 kB / 0.5622 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.6011, allocations: 96.84 kB / 0.5623 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.6011, allocations: 3.953 kB / 0.5623 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.6012, allocations: 0 / 0.5623 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.6013, allocations: 19.17 kB / 0.5623 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.6013, allocations: 8.25 kB / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.6013, allocations: 91.2 kB / 0.5624 GB, free: 13.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6013, allocations: 0 / 0.5624 GB, free: 13.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.6016, allocations: 39.84 kB / 0.5624 GB, free: 13.74 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.0006403/0.6023, allocations: 0.8234 MB / 0.5632 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.6025, allocations: 107.7 kB / 0.5633 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6025, allocations: 4 kB / 0.5633 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.6026, allocations: 67.11 kB / 0.5634 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.6027, allocations: 3.953 kB / 0.5634 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.6034, allocations: 279.4 kB / 0.5637 GB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.6037, allocations: 0.7399 MB / 0.5644 GB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.6038, allocations: 25.12 kB / 0.5644 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.6039, allocations: 62.47 kB / 0.5645 GB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6039, allocations: 0 / 0.5645 GB, free: 11.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.6259, allocations: 1.971 MB / 0.5664 GB, free: 9.727 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.6262, allocations: 130.6 kB / 0.5665 GB, free: 9.531 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.173, allocations: 4 kB / 0.5665 GB, free: 9.527 MB / 378.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