Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.0009635/0.0009635, allocations: 93.84 kB / 16.98 MB, free: 5.938 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.0009906/0.0009908, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.392/1.392, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2029/0.2029, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 61.93 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00229/0.1517, allocations: 1.267 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.1524, allocations: 371.5 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1525, allocations: 4 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1528, allocations: 95.73 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.153, allocations: 67.83 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1533, allocations: 79.78 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1535, allocations: 51.88 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1536, allocations: 16.16 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.1537, allocations: 31.91 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1538, allocations: 47.83 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1538, allocations: 4 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.1539, allocations: 31.92 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.154, allocations: 19.92 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.154, allocations: 41.64 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1542, allocations: 76.16 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1542, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1542, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1542, allocations: 0 / 473.7 MB, free: 11.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004775/0.1547, allocations: 410.8 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1547, allocations: 8.031 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1548, allocations: 38.56 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1548, allocations: 7.906 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.155, allocations: 211.2 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1551, allocations: 3.938 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1551, allocations: 11.95 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1552, allocations: 53.67 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1552, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1553, allocations: 4 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1553, allocations: 0 / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/0.1554, allocations: 31.98 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.1558, allocations: 288.8 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1559, allocations: 46.5 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1559, allocations: 8.078 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1559, allocations: 34.56 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1559, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009084/0.1569, allocations: 253.3 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1569, allocations: 63.39 kB / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1572, allocations: 234.7 kB / 475.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1572, allocations: 25.7 kB / 475.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1573, allocations: 112 kB / 475.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1574, allocations: 31.58 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.1574, allocations: 0 / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1576, allocations: 330.8 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.1577, allocations: 31.92 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.1577, allocations: 27.98 kB / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.456e-05/0.1578, allocations: 28.22 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1578, allocations: 0 / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000215/0.1581, allocations: 121.5 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1581, allocations: 4 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1581, allocations: 0 / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1581, allocations: 0 / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1583, allocations: 23.98 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1583, allocations: 3.938 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.1583, allocations: 11.92 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1583, allocations: 8 kB / 476.1 MB, free: 8.789 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 (8): * Single equations (assignments): 8 * 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.000125/0.1585, allocations: 133.8 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1585, allocations: 15.81 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.1588, allocations: 123 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1588, allocations: 4 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1588, allocations: 0 / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1588, allocations: 0 / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.1593, allocations: 415.3 kB / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1594, allocations: 4.031 kB / 476.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.1594, allocations: 23.92 kB / 476.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1594, allocations: 0 / 476.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1595, allocations: 4 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1595, allocations: 4 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1595, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1597, allocations: 221.9 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1598, allocations: 89.02 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1598, allocations: 4 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1599, allocations: 7.984 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.16, allocations: 15.89 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.16, allocations: 4 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1601, allocations: 188.3 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 0 / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1604, allocations: 23.89 kB / 477.4 MB, free: 7.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001606/0.162, allocations: 1.178 MB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1622, allocations: 71.89 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1623, allocations: 0 / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.1624, allocations: 43.98 kB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1626, allocations: 20.12 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.164, allocations: 0.8168 MB / 479.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1644, allocations: 0.7199 MB / 480.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.1645, allocations: 16.97 kB / 480.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.1645, allocations: 31.42 kB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1645, allocations: 0 / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1786, allocations: 2.727 MB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.1789, allocations: 211.7 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.98, allocations: 7.938 kB / 483.2 MB, free: 1.754 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat