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/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 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 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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007489/0.0007489, allocations: 92.95 kB / 17 MB, free: 6.07 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.000858/0.0008579, allocations: 182.6 kB / 17.89 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2458/0.2458, allocations: 44.23 MB / 337.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 14.16 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003336/0.1448, allocations: 1.721 MB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.1476, allocations: 1.212 MB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1478, allocations: 8 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.1479, allocations: 15.8 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.148, allocations: 23.84 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.1487, allocations: 147.5 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.149, allocations: 168.1 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1492, allocations: 81.47 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.1494, allocations: 55.72 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1496, allocations: 67.56 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1496, allocations: 4 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.15, allocations: 127.9 kB / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.15, allocations: 27.86 kB / 475.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.1501, allocations: 53.58 kB / 475.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1505, allocations: 211.7 kB / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1505, allocations: 0 / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1505, allocations: 0 / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1505, allocations: 3.938 kB / 475.6 MB, free: 9.703 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.0007612/0.1513, allocations: 495.2 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1514, allocations: 8.031 kB / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.1515, allocations: 86.89 kB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.1527, allocations: 71.67 kB / 476.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1529, allocations: 190.8 kB / 476.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.153, allocations: 24.66 kB / 476.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.1531, allocations: 35.95 kB / 476.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.1536, allocations: 230.1 kB / 476.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.1537, allocations: 0 / 476.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.1537, allocations: 19.94 kB / 476.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1537, allocations: 8 kB / 476.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.1542, allocations: 166.5 kB / 476.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1555, allocations: 0.6632 MB / 477.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.1563, allocations: 227.4 kB / 477.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1565, allocations: 65.31 kB / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1566, allocations: 4.234 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.1566, allocations: 46.72 kB / 477.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.1566, allocations: 0 / 477.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006634/0.1573, allocations: 219.1 kB / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.1574, allocations: 59.41 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.1575, allocations: 97.84 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.1575, allocations: 33.7 kB / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1577, allocations: 152.3 kB / 478.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.291e-05/0.1578, allocations: 82.73 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.1578, allocations: 4 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.158, allocations: 326.8 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1581, allocations: 51.95 kB / 478.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1583, allocations: 47.97 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1584, allocations: 45.41 kB / 479 MB, free: 6.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1585, allocations: 0 / 479 MB, free: 6.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004163/0.1589, allocations: 173.5 kB / 479.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1589, allocations: 8 kB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1589, allocations: 4 kB / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1589, allocations: 0 / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.1595, allocations: 99.94 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1595, allocations: 4 kB / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.1596, allocations: 11.84 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1596, allocations: 12 kB / 479.3 MB, free: 5.77 MB / 350.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.0001604/0.1598, allocations: 138.2 kB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.1599, allocations: 11.81 kB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.16, allocations: 21.12 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.16, allocations: 4 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.16, allocations: 0 / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.16, allocations: 0 / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.1604, allocations: 293.3 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1604, allocations: 4 kB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.1609, allocations: 103.9 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1609, allocations: 3.984 kB / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.161, allocations: 0 / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.161, allocations: 4 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.161, allocations: 256 / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.1615, allocations: 283.3 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1615, allocations: 88.95 kB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1616, allocations: 4 kB / 480.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1617, allocations: 8 kB / 480.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.1618, allocations: 19.97 kB / 480.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1618, allocations: 4 kB / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.1619, allocations: 83.28 kB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1619, allocations: 7.938 kB / 480.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.1624, allocations: 55.69 kB / 480.4 MB, free: 4.562 MB / 350.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.0009739/0.1633, allocations: 0.8847 MB / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1637, allocations: 135.9 kB / 481.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1637, allocations: 0 / 481.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1639, allocations: 75.89 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1642, allocations: 12 kB / 481.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.1664, allocations: 1.119 MB / 482.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.1669, allocations: 0.7478 MB / 483.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.167, allocations: 17.41 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.1672, allocations: 59.42 kB / 483.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.715e-06/0.1672, allocations: 0 / 483.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1801, allocations: 2.373 MB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.1804, allocations: 174.6 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/1.985, allocations: 0 / 486 MB, free: 14.91 MB / 366.1 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