Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001016/0.001023, allocations: 97.22 kB / 17 MB, free: 6.402 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.001196/0.001196, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.416/1.416, allocations: 223.2 MB / 241.9 MB, free: 316 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.2206/0.2206, allocations: 44.21 MB / 337.2 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 12 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 61.92 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001871/0.1159, allocations: 1.27 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1173, allocations: 0.9609 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.1174, allocations: 4 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1175, allocations: 19.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1177, allocations: 27.92 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1179, allocations: 98.81 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1181, allocations: 67.81 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.1182, allocations: 16.17 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.1182, allocations: 19.88 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1183, allocations: 31.84 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1184, allocations: 0 / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.1185, allocations: 39.98 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.1185, allocations: 23.91 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.1185, allocations: 29.7 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1187, allocations: 76.11 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1187, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1187, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1187, allocations: 0 / 474.3 MB, free: 10.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004311/0.1192, allocations: 389.2 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1192, allocations: 8.031 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.1192, allocations: 34.56 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1193, allocations: 11.91 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1195, allocations: 183 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1195, allocations: 8 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1195, allocations: 7.859 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1197, allocations: 87.31 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1197, allocations: 3.938 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1197, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1198, allocations: 3.984 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1199, allocations: 43.97 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1203, allocations: 308.7 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1204, allocations: 58.56 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1205, allocations: 24.97 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1205, allocations: 0 / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1205, allocations: 30.56 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1205, allocations: 0 / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005982/0.1211, allocations: 213.3 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1212, allocations: 77.11 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1213, allocations: 141.8 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1213, allocations: 33.7 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1214, allocations: 99.97 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1214, allocations: 23.7 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.1215, allocations: 0 / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1216, allocations: 326.8 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.1217, allocations: 35.97 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.1217, allocations: 45.7 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.195e-05/0.1218, allocations: 31.98 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1219, allocations: 4 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000209/0.1221, allocations: 117.6 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1221, allocations: 4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1221, allocations: 0 / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1221, allocations: 0 / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1222, allocations: 23.92 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1223, allocations: 3.938 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1223, allocations: 12 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1223, allocations: 0 / 476.7 MB, free: 8.359 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 9.538e-05/0.1224, allocations: 130.3 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.1225, allocations: 7.906 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.1228, allocations: 138.1 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1228, allocations: 7.938 kB / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1228, allocations: 4 kB / 477 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1228, allocations: 3.938 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1232, allocations: 402.5 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1233, allocations: 0 / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.1233, allocations: 23.94 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1233, allocations: 0 / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1234, allocations: 7.984 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1234, allocations: 0 / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1234, allocations: 0 / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1236, allocations: 223.4 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.1237, allocations: 89 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1237, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.1238, allocations: 4 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1238, allocations: 11.98 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1238, allocations: 4 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.1239, allocations: 110 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1239, allocations: 0 / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1242, allocations: 31.98 kB / 477.8 MB, free: 7.082 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 (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.00135/0.1256, allocations: 1.087 MB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1258, allocations: 79.95 kB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1258, allocations: 0 / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.1259, allocations: 47.91 kB / 479.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1262, allocations: 19.92 kB / 479.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1272, allocations: 0.6196 MB / 479.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1275, allocations: 0.7005 MB / 480.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.612e-05/0.1276, allocations: 25.05 kB / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.1276, allocations: 23.42 kB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1276, allocations: 0 / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.1447, allocations: 2.514 MB / 483 MB, free: 2.172 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/0.1451, allocations: 227.2 kB / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.964, allocations: 0 / 483.2 MB, free: 1.926 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat does not exist to compare? outputFormat=mat