Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001022/0.001022, allocations: 93.52 kB / 16.99 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.001344/0.001344, allocations: 180.9 kB / 17.87 MB, free: 5.609 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.442/1.442, allocations: 223.2 MB / 241.8 MB, free: 376 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.201/0.201, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 8.875 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001877/0.1152, allocations: 1.27 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000638/0.1159, allocations: 371.6 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.116, allocations: 4 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1162, allocations: 115.7 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1164, allocations: 79.83 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1167, allocations: 91.77 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1168, allocations: 63.84 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.1169, allocations: 8.172 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.117, allocations: 39.89 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1171, allocations: 67.73 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1171, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.1172, allocations: 31.92 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.1172, allocations: 23.92 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.1173, allocations: 41.64 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1174, allocations: 88.14 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1174, allocations: 0 / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1174, allocations: 0 / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1174, allocations: 0 / 473.8 MB, free: 11.35 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.0004161/0.1178, allocations: 410.8 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1179, allocations: 11.97 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.1179, allocations: 30.56 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.118, allocations: 19.8 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1181, allocations: 198.7 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1182, allocations: 8 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1182, allocations: 7.859 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1183, allocations: 65.66 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1183, allocations: 0 / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1183, allocations: 0 / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1183, allocations: 0 / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.1184, allocations: 31.97 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1189, allocations: 316.7 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.119, allocations: 46.56 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.119, allocations: 0 / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.119, allocations: 30.56 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.119, allocations: 4 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008964/0.1199, allocations: 277.3 kB / 475.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.12, allocations: 55.41 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1202, allocations: 270.2 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1203, allocations: 25.7 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1203, allocations: 112.1 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1204, allocations: 31.55 kB / 475.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.1204, allocations: 4 kB / 475.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1205, allocations: 330.8 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.1206, allocations: 31.97 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.1207, allocations: 31.98 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.1208, allocations: 39.98 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1208, allocations: 4 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.121, allocations: 113.5 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.121, allocations: 8 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1211, allocations: 3.984 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1211, allocations: 3.938 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1212, allocations: 27.88 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1212, allocations: 0 / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.1212, allocations: 11.98 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1213, allocations: 8 kB / 476.3 MB, free: 8.605 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.0001035/0.1214, allocations: 134.3 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.1214, allocations: 15.81 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.1217, allocations: 139.3 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1217, allocations: 4 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1217, allocations: 0 / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1217, allocations: 0 / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1222, allocations: 451.1 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1223, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.1223, allocations: 19.98 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1223, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1224, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1224, allocations: 4.031 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1224, allocations: 4 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1226, allocations: 237.8 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1227, allocations: 89.02 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1227, allocations: 3.938 kB / 477.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.1228, allocations: 7.984 kB / 477.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1229, allocations: 7.953 kB / 477.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1229, allocations: 8 kB / 477.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.123, allocations: 199.2 kB / 477.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1231, allocations: 0 / 477.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1233, allocations: 20 kB / 477.7 MB, free: 7.172 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.001383/0.1247, allocations: 1.192 MB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1249, allocations: 87.94 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1249, allocations: 0 / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.125, allocations: 43.92 kB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.1253, allocations: 16.12 kB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1265, allocations: 0.8949 MB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1269, allocations: 0.7278 MB / 480.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.127, allocations: 24.94 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.127, allocations: 43.42 kB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.127, allocations: 0 / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1405, allocations: 2.877 MB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1408, allocations: 217.3 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/1.936, allocations: 0 / 483.8 MB, free: 1.215 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat does not exist to compare? outputFormat=mat