Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.0008357/0.0008357, allocations: 99.34 kB / 17 MB, free: 6.117 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.001109/0.001109, allocations: 182.3 kB / 17.89 MB, free: 5.707 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.399/1.399, allocations: 223.2 MB / 241.9 MB, free: 324 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.2183/0.2183, allocations: 44.23 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001958/0.1206, allocations: 1.27 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.1213, allocations: 367.7 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.1214, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.1216, allocations: 19.91 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1217, allocations: 35.84 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.122, allocations: 95.5 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1221, allocations: 43.84 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.1222, allocations: 16 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.1223, allocations: 19.86 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.1224, allocations: 15.92 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1224, allocations: 0 / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.1225, allocations: 23.92 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.1225, allocations: 11.98 kB / 473.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.1225, allocations: 33.64 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1227, allocations: 52.2 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1227, allocations: 4 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1227, allocations: 0 / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1227, allocations: 3.938 kB / 473.6 MB, free: 11.63 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.0004121/0.1231, allocations: 367.1 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1232, allocations: 16.02 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1232, allocations: 34.56 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1232, allocations: 7.906 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1234, allocations: 179 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1234, allocations: 3.938 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1235, allocations: 7.953 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1236, allocations: 49.67 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1237, allocations: 4 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1237, allocations: 4 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1237, allocations: 0 / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1238, allocations: 23.98 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.1242, allocations: 288.8 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1244, allocations: 50.48 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.1245, allocations: 16.86 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1246, allocations: 12.08 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1246, allocations: 34.56 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.1246, allocations: 0 / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005529/0.1252, allocations: 161.3 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1252, allocations: 55.41 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1254, allocations: 144.9 kB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1254, allocations: 25.7 kB / 475.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1254, allocations: 96.05 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1255, allocations: 11.75 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1255, allocations: 0 / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1256, allocations: 334.7 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.1257, allocations: 23.98 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1258, allocations: 23.98 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.1259, allocations: 35.91 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1259, allocations: 4 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001788/0.1261, allocations: 85.58 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1261, allocations: 4 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1261, allocations: 0 / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1261, allocations: 4 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.1262, allocations: 15.98 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1262, allocations: 4 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.1263, allocations: 8 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1263, allocations: 3.984 kB / 475.7 MB, free: 9.305 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 9.821e-05/0.1264, allocations: 118.3 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.1264, allocations: 7.906 kB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.1267, allocations: 109.9 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1267, allocations: 3.938 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1267, allocations: 3.984 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1267, allocations: 0 / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.1272, allocations: 362.5 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1272, allocations: 288 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.1273, allocations: 15.98 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1273, allocations: 384 / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1273, allocations: 0 / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1273, allocations: 4 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1273, allocations: 0 / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1276, allocations: 199.4 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.1276, allocations: 85.02 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1277, allocations: 3.984 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.1277, allocations: 8 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1278, allocations: 4 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1278, allocations: 4 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.1279, allocations: 111.2 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1279, allocations: 0 / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1281, allocations: 16 kB / 476.8 MB, free: 8.164 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.001436/0.1296, allocations: 1.024 MB / 477.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.1298, allocations: 59.91 kB / 477.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1298, allocations: 4 kB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.1299, allocations: 31.97 kB / 477.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1303, allocations: 23.84 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1314, allocations: 0.5593 MB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1318, allocations: 0.6965 MB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.1318, allocations: 7.984 kB / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.1319, allocations: 23.44 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1319, allocations: 0 / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.1449, allocations: 2.055 MB / 481.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1452, allocations: 223.1 kB / 481.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.037, allocations: 0 / 481.5 MB, free: 3.613 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat does not exist to compare? outputFormat=mat