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.0007944/0.0007945, allocations: 95.42 kB / 17 MB, free: 6.074 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.001001/0.001001, allocations: 182.4 kB / 17.89 MB, free: 5.656 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.413/1.413, allocations: 223.3 MB / 241.9 MB, free: 260 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.2303/0.2303, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001858/0.1406, allocations: 1.27 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006825/0.1413, allocations: 391.5 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.1414, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1416, allocations: 67.84 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1418, allocations: 55.86 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1421, allocations: 91.83 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1422, allocations: 63.8 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.1423, allocations: 16.19 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.1423, allocations: 27.84 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1425, allocations: 43.89 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1425, allocations: 0 / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.1426, allocations: 39.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.1426, allocations: 23.91 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.1427, allocations: 33.7 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1428, allocations: 72.12 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1428, allocations: 3.984 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1428, allocations: 4 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1428, allocations: 0 / 473.8 MB, free: 11.43 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.0004554/0.1433, allocations: 394.9 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1433, allocations: 8.031 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1434, allocations: 34.56 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.1434, allocations: 7.906 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1436, allocations: 190.9 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.1436, allocations: 4 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1437, allocations: 11.86 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1439, allocations: 61.61 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1439, allocations: 0 / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.144, allocations: 11.92 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.144, allocations: 4 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.1441, allocations: 27.98 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.1446, allocations: 304.8 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1447, allocations: 46.5 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1448, allocations: 24.94 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1448, allocations: 80 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1448, allocations: 34.56 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1448, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009459/0.1458, allocations: 273 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1458, allocations: 51.41 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.146, allocations: 210.2 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.146, allocations: 25.7 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1462, allocations: 108 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.1463, allocations: 23.66 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1463, allocations: 0 / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1464, allocations: 326.8 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1466, allocations: 35.97 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.1467, allocations: 40.05 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.1467, allocations: 35.92 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1468, allocations: 0 / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002143/0.147, allocations: 129.4 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.147, allocations: 4 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.147, allocations: 0 / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.147, allocations: 0 / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1471, allocations: 23.98 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1471, allocations: 4 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.1472, allocations: 4 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1472, allocations: 0 / 476.2 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.0001112/0.1473, allocations: 142.2 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1474, allocations: 7.906 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.1477, allocations: 130.4 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1477, allocations: 3.984 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1477, allocations: 4 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1477, allocations: 0 / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.1483, allocations: 427.2 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1483, allocations: 0 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.1483, allocations: 24.02 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1484, allocations: 0 / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1484, allocations: 4 kB / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1484, allocations: 11.88 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1484, allocations: 3.953 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1487, allocations: 220.2 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.1487, allocations: 89.34 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1488, allocations: 4 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1488, allocations: 11.98 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1489, allocations: 11.95 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1489, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.149, allocations: 163.2 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.149, allocations: 0 / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1493, allocations: 16 kB / 477.5 MB, free: 7.43 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.001577/0.1509, allocations: 1.106 MB / 478.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1511, allocations: 91.88 kB / 478.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1511, allocations: 0 / 478.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.1512, allocations: 43.97 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1516, allocations: 19.98 kB / 478.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1529, allocations: 0.7832 MB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1532, allocations: 0.708 MB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.1533, allocations: 28.94 kB / 480.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1534, allocations: 31.42 kB / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1534, allocations: 0 / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.1665, allocations: 2.614 MB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.1667, allocations: 219.1 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.069, allocations: 3.938 kB / 483.1 MB, free: 1.965 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