Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.0008022/0.0008022, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 171.3 kB / 16.57 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3766/0.3766, allocations: 43.55 MB / 314.6 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007808/0.0007809, allocations: 12 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1206, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.001782/0.1224, allocations: 1.314 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1237, allocations: 0.8753 MB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1238, allocations: 4 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.124, allocations: 15.92 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1242, allocations: 35.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1245, allocations: 99.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1246, allocations: 55.78 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/0.1247, allocations: 12.19 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.1248, allocations: 23.84 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1249, allocations: 27.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1249, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1251, allocations: 47.97 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1251, allocations: 11.98 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.1251, allocations: 29.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1253, allocations: 76.09 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1253, allocations: 3.938 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1253, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1253, allocations: 4 kB / 445.5 MB, free: 10.3 MB / 382.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.0004889/0.1258, allocations: 387 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1259, allocations: 8.031 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1259, allocations: 38.56 kB / 445.9 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1259, allocations: 7.953 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1261, allocations: 194.8 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.1261, allocations: 0 / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1262, allocations: 12 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1263, allocations: 71.39 kB / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1263, allocations: 0 / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1264, allocations: 0 / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1264, allocations: 0 / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1265, allocations: 55.84 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.1268, allocations: 292.8 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.127, allocations: 50.55 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.636e-05/0.127, allocations: 28.94 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1271, allocations: 0 / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1271, allocations: 38.52 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1271, allocations: 3.938 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006974/0.1278, allocations: 237.3 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1279, allocations: 81.05 kB / 447 MB, free: 8.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.128, allocations: 141.8 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.128, allocations: 25.7 kB / 447.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.1281, allocations: 96.14 kB / 447.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1281, allocations: 27.64 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.1281, allocations: 0 / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.1282, allocations: 318.8 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1283, allocations: 39.97 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1284, allocations: 57.69 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1285, allocations: 44.05 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1286, allocations: 4.031 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002513/0.1288, allocations: 121.5 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1288, allocations: 12 kB / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1288, allocations: 0 / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1289, allocations: 3.938 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.129, allocations: 19.98 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.129, allocations: 4 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1291, allocations: 15.98 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1291, allocations: 4 kB / 447.9 MB, free: 7.664 MB / 382.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 (7): * Single equations (assignments): 7 * 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 7.623e-05/0.1292, allocations: 125.8 kB / 448 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.1292, allocations: 15.8 kB / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1295, allocations: 142.5 kB / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1295, allocations: 4 kB / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1295, allocations: 0 / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1295, allocations: 0 / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.13, allocations: 410.5 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.13, allocations: 0 / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.1301, allocations: 23.97 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1301, allocations: 4 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1301, allocations: 4 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1301, allocations: 3.938 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1301, allocations: 0 / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1304, allocations: 219.4 kB / 448.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.1305, allocations: 96.95 kB / 448.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1305, allocations: 0 / 448.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.1306, allocations: 15.98 kB / 448.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1307, allocations: 4 kB / 448.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1307, allocations: 4 kB / 448.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.643e-05/0.1308, allocations: 111.2 kB / 449.1 MB, free: 6.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1308, allocations: 0 / 449.1 MB, free: 6.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.131, allocations: 24 kB / 449.1 MB, free: 6.379 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001344/0.1324, allocations: 1.103 MB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1326, allocations: 83.95 kB / 450.3 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1327, allocations: 4 kB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1328, allocations: 47.91 kB / 450.3 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1331, allocations: 19.92 kB / 450.3 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1341, allocations: 0.6351 MB / 451 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1344, allocations: 0.6926 MB / 451.7 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.1345, allocations: 24.8 kB / 451.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.1345, allocations: 31.36 kB / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1345, allocations: 0 / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.1483, allocations: 2.535 MB / 454.2 MB, free: 1.152 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.1486, allocations: 223.6 kB / 454.5 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.857, allocations: 0 / 454.5 MB, free: 0.9062 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat does not exist to compare? outputFormat=mat