Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.0008158/0.0008158, allocations: 98.47 kB / 17 MB, free: 6.082 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.0008154/0.0008156, allocations: 182.6 kB / 17.89 MB, free: 5.664 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.371/1.371, allocations: 223.2 MB / 241.9 MB, free: 240 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.2126/0.2126, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 16.67 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002064/0.1189, allocations: 1.27 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.1196, allocations: 375.5 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.1197, allocations: 0 / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1199, allocations: 71.84 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1201, allocations: 55.86 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1204, allocations: 75.34 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1206, allocations: 67.81 kB / 473.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.1207, allocations: 8.188 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.1207, allocations: 31.84 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.1208, allocations: 43.88 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1209, allocations: 4 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.121, allocations: 35.94 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.121, allocations: 19.98 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.121, allocations: 33.64 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1212, allocations: 80.09 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1212, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1212, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1212, allocations: 0 / 473.8 MB, free: 11.47 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.0004513/0.1217, allocations: 393.3 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1217, allocations: 8.031 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.1218, allocations: 38.56 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1218, allocations: 11.91 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.122, allocations: 194.9 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.122, allocations: 0 / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.122, allocations: 11.86 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1222, allocations: 57.61 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.1222, allocations: 3.984 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1222, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1222, allocations: 4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.1223, allocations: 31.92 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1227, allocations: 292.8 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.1228, allocations: 42.5 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1229, allocations: 24.94 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1229, allocations: 4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1229, allocations: 30.56 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1229, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008134/0.1237, allocations: 261 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1238, allocations: 51.41 kB / 475.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.124, allocations: 206.2 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.124, allocations: 29.7 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.1241, allocations: 108 kB / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1241, allocations: 23.64 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.1241, allocations: 4 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1243, allocations: 322.8 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.1244, allocations: 35.98 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.1244, allocations: 23.98 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.1245, allocations: 31.98 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1245, allocations: 0 / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001983/0.1247, allocations: 113.4 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1247, allocations: 6.5 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1247, allocations: 0 / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1248, allocations: 4 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.1249, allocations: 19.98 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1249, allocations: 0 / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.1249, allocations: 11.98 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1249, allocations: 0 / 476.2 MB, free: 8.895 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.0001091/0.1251, allocations: 130.3 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.1251, allocations: 15.83 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.1254, allocations: 126.4 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1254, allocations: 0 / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1254, allocations: 4 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1254, allocations: 3.984 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1259, allocations: 411.2 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1259, allocations: 0 / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.1259, allocations: 23.98 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.126, allocations: 0 / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.126, allocations: 4 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.126, allocations: 7.875 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.126, allocations: 7.891 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1262, allocations: 208.8 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1263, allocations: 97.33 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1263, allocations: 0 / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.1264, allocations: 4 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1264, allocations: 15.94 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1264, allocations: 4 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1266, allocations: 155.2 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1266, allocations: 0 / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1268, allocations: 20 kB / 477.4 MB, free: 7.57 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.001334/0.1282, allocations: 1.086 MB / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1284, allocations: 79.88 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1284, allocations: 0 / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.1285, allocations: 40.05 kB / 478.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1288, allocations: 22.8 kB / 478.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1299, allocations: 0.7481 MB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1302, allocations: 0.708 MB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.1303, allocations: 12.97 kB / 480.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1303, allocations: 31.42 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1303, allocations: 0 / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.1467, allocations: 2.568 MB / 482.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.1469, allocations: 222.7 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.054, allocations: 3.938 kB / 482.9 MB, free: 2.223 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat