Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.0008623/0.0008623, allocations: 92.8 kB / 17 MB, free: 6.355 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.0008449/0.0008453, allocations: 186.2 kB / 17.89 MB, free: 5.926 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.435/1.435, allocations: 223.2 MB / 241.9 MB, free: 352 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.2611/0.2611, allocations: 44.21 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.000345, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002425/0.1369, allocations: 1.263 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.1379, allocations: 367.6 kB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1381, allocations: 4 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.1385, allocations: 19.91 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1388, allocations: 27.92 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.1393, allocations: 79.34 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1396, allocations: 43.84 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1397, allocations: 16 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.1398, allocations: 19.91 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.1399, allocations: 19.86 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1399, allocations: 3.938 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.14, allocations: 20 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1401, allocations: 11.92 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.1401, allocations: 33.7 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1403, allocations: 60.19 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1403, allocations: 0 / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1404, allocations: 0 / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1404, allocations: 4 kB / 473.6 MB, free: 11.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000674/0.1411, allocations: 377.2 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.1411, allocations: 8.031 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.1412, allocations: 34.5 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.1413, allocations: 7.906 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1415, allocations: 183 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1416, allocations: 4 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1416, allocations: 7.953 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1418, allocations: 49.69 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1418, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1418, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1418, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.142, allocations: 31.92 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.1425, allocations: 272.9 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1428, allocations: 42.56 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.1429, allocations: 20.94 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.1429, allocations: 3.938 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1429, allocations: 30.56 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1429, allocations: 4 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006728/0.1436, allocations: 157.2 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1437, allocations: 55.41 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1439, allocations: 156.3 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1439, allocations: 25.7 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.144, allocations: 96.05 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.144, allocations: 23.72 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.144, allocations: 4 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1441, allocations: 318.8 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.1442, allocations: 27.98 kB / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.1443, allocations: 20.05 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/0.1444, allocations: 27.98 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1444, allocations: 0 / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.1446, allocations: 85.58 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1446, allocations: 11.98 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1446, allocations: 0 / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1446, allocations: 3.938 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1447, allocations: 15.94 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1447, allocations: 0 / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1448, allocations: 15.92 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1448, allocations: 4.281 kB / 475.7 MB, free: 9.344 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 (5): * Single equations (assignments): 5 * 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.000124/0.1449, allocations: 118.3 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.145, allocations: 7.906 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.1452, allocations: 102 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1453, allocations: 4 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.1453, allocations: 3.984 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1453, allocations: 3.938 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1458, allocations: 346.5 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1458, allocations: 4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.1459, allocations: 16 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1459, allocations: 3.984 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.1459, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1459, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1459, allocations: 320 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1462, allocations: 195.3 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.1462, allocations: 85 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1463, allocations: 4 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1463, allocations: 4 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.1464, allocations: 11.98 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1464, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1465, allocations: 121.3 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1466, allocations: 0 / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1468, allocations: 16 kB / 476.7 MB, free: 8.215 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 (5): * Single equations (assignments): 5 * 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.001686/0.1485, allocations: 1.009 MB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1488, allocations: 51.97 kB / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1488, allocations: 0 / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1489, allocations: 35.92 kB / 477.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1493, allocations: 15.98 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1504, allocations: 0.5748 MB / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1507, allocations: 0.6978 MB / 479.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.1508, allocations: 15.97 kB / 479.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.1508, allocations: 23.44 kB / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1509, allocations: 3.938 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1646, allocations: 2.089 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.1649, allocations: 223.5 kB / 481.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.027, allocations: 0 / 481.5 MB, free: 3.633 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat