Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009378/0.0009378, allocations: 101.4 kB / 17 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 196.2 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003112, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 63.46 MB / 481.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002585/0.1477, allocations: 1.749 MB / 483.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1499, allocations: 1.247 MB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.1501, allocations: 4 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.1501, allocations: 11.86 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1502, allocations: 27.77 kB / 484.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.1507, allocations: 155.5 kB / 484.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.151, allocations: 164.1 kB / 485 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.1512, allocations: 73.56 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1514, allocations: 59.72 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1515, allocations: 67.56 kB / 485.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1516, allocations: 4 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.1519, allocations: 131.9 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.1519, allocations: 35.84 kB / 485.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.152, allocations: 53.58 kB / 485.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1523, allocations: 219.7 kB / 485.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1523, allocations: 0 / 485.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1523, allocations: 0 / 485.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1523, allocations: 0 / 485.6 MB, free: 1.285 MB / 350.1 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.0006997/0.153, allocations: 495.1 kB / 486.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1531, allocations: 8.031 kB / 486.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1532, allocations: 86.89 kB / 486.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.1541, allocations: 83.66 kB / 486.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1542, allocations: 190.7 kB / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1543, allocations: 24.66 kB / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.1543, allocations: 32 kB / 486.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.1547, allocations: 230.1 kB / 486.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1548, allocations: 4 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1548, allocations: 8 kB / 486.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1548, allocations: 8 kB / 486.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.1551, allocations: 170.5 kB / 486.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1562, allocations: 0.6593 MB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.1568, allocations: 223.4 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.157, allocations: 73.3 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.157, allocations: 12.17 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1571, allocations: 34.8 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.1571, allocations: 0 / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005395/0.1576, allocations: 225.9 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.1577, allocations: 55.39 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1578, allocations: 101.9 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1578, allocations: 33.7 kB / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.158, allocations: 152.3 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.1581, allocations: 86.66 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.1581, allocations: 8 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1582, allocations: 318.8 kB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.576e-05/0.1583, allocations: 39.98 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.1584, allocations: 56.17 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/0.1585, allocations: 52 kB / 489 MB, free: 13.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1585, allocations: 0 / 489 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002571/0.1588, allocations: 169.5 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1588, allocations: 6.344 kB / 489.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1588, allocations: 7.969 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1589, allocations: 4 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.1592, allocations: 99.91 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1592, allocations: 0 / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.1593, allocations: 15.89 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1593, allocations: 8 kB / 489.3 MB, free: 13.34 MB / 366.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 (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.00011/0.1594, allocations: 130.4 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1594, allocations: 19.81 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.1595, allocations: 25.11 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1595, allocations: 4 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1595, allocations: 7.891 kB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1596, allocations: 0 / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1599, allocations: 285.4 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1599, allocations: 0 / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.1602, allocations: 103.9 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1603, allocations: 4 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1603, allocations: 4 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1603, allocations: 0 / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1603, allocations: 3.938 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1606, allocations: 280 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1608, allocations: 92.95 kB / 490.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1608, allocations: 8 kB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1609, allocations: 8 kB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.1609, allocations: 11.97 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.161, allocations: 12 kB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.252e-05/0.161, allocations: 83.53 kB / 490.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.161, allocations: 0 / 490.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.1614, allocations: 59.64 kB / 490.4 MB, free: 12.13 MB / 366.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 (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.0007897/0.1622, allocations: 0.8807 MB / 491.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.1625, allocations: 136.3 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1625, allocations: 0 / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1626, allocations: 80.38 kB / 491.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1628, allocations: 10.25 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1645, allocations: 1.123 MB / 492.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.165, allocations: 0.7402 MB / 493.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1651, allocations: 13.42 kB / 493.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.321e-05/0.1652, allocations: 71.41 kB / 493.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1652, allocations: 0 / 493.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1781, allocations: 2.355 MB / 495.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1783, allocations: 169 kB / 496 MB, free: 6.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.078, allocations: 0 / 496 MB, free: 6.492 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat