Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.00118/0.00118, allocations: 94.66 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.001316/0.001316, allocations: 189 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.375/1.375, allocations: 223.2 MB / 241.8 MB, free: 14.67 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.2338/0.2338, allocations: 44.23 MB / 337.1 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003608, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001848/0.1408, allocations: 1.271 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.1415, allocations: 375.5 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.1416, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1418, allocations: 75.77 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.142, allocations: 51.88 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1423, allocations: 99.75 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1424, allocations: 43.88 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1425, allocations: 16.17 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.1426, allocations: 27.91 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.1427, allocations: 39.83 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1427, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.1428, allocations: 31.94 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.1429, allocations: 23.91 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1429, allocations: 33.7 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.143, allocations: 72.17 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.143, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.143, allocations: 3.938 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1431, allocations: 0 / 473.7 MB, free: 11.49 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.0005311/0.1436, allocations: 391 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1436, allocations: 11.97 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.1437, allocations: 38.56 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1438, allocations: 15.83 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.144, allocations: 194.9 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.144, allocations: 8 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.144, allocations: 7.859 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1441, allocations: 57.61 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1442, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1442, allocations: 4 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1442, allocations: 4 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1443, allocations: 35.97 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1447, allocations: 292.8 kB / 474.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1448, allocations: 50.5 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1449, allocations: 8.062 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1449, allocations: 34.64 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1449, allocations: 0 / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008899/0.1458, allocations: 261.1 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1458, allocations: 51.41 kB / 475.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.146, allocations: 210.1 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.146, allocations: 29.7 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.1461, allocations: 104 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1461, allocations: 23.64 kB / 475.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1461, allocations: 4 kB / 475.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1463, allocations: 322.8 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.1464, allocations: 35.98 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.1464, allocations: 35.97 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.1465, allocations: 39.92 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1465, allocations: 0 / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002299/0.1468, allocations: 125.7 kB / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1468, allocations: 10.19 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1468, allocations: 0 / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1468, allocations: 0 / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1469, allocations: 19.98 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.147, allocations: 8 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.147, allocations: 11.98 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.147, allocations: 4 kB / 476.1 MB, free: 8.867 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.0001074/0.1471, allocations: 138.2 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.1472, allocations: 7.906 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.1475, allocations: 130.4 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1475, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1475, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1475, allocations: 432 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.148, allocations: 439.1 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1481, allocations: 0 / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.1481, allocations: 19.98 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1481, allocations: 0 / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1482, allocations: 4 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1482, allocations: 3.938 kB / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1482, allocations: 0 / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1484, allocations: 238 kB / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.1485, allocations: 92.91 kB / 477.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1485, allocations: 4 kB / 477.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1486, allocations: 8 kB / 477.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1486, allocations: 11.94 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1487, allocations: 4 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1488, allocations: 155.2 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1488, allocations: 0 / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.149, allocations: 23.98 kB / 477.3 MB, free: 7.492 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.001446/0.1505, allocations: 1.183 MB / 478.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1507, allocations: 83.86 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1508, allocations: 4 kB / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/0.1509, allocations: 43.97 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1511, allocations: 19.95 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1523, allocations: 0.7716 MB / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1526, allocations: 0.7157 MB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.1527, allocations: 20.64 kB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.1528, allocations: 31.38 kB / 480.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1528, allocations: 0 / 480.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.1647, allocations: 2.605 MB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.1649, allocations: 211.8 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.072, allocations: 4 kB / 483 MB, free: 1.961 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat does not exist to compare? outputFormat=mat