Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.0009543/0.0009545, allocations: 96.55 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.001291/0.001291, allocations: 173.2 kB / 16.58 MB, free: 6.84 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.517/1.517, allocations: 205.4 MB / 222.8 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.3206/0.3206, allocations: 43.54 MB / 314.6 MB, free: 8.758 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.0004795/0.0004796, allocations: 20 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 58.87 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001622/0.1095, allocations: 1.306 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004781/0.11, allocations: 291.9 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.11, allocations: 4 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.1105, allocations: 443.2 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1108, allocations: 235.5 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.111, allocations: 103.9 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1112, allocations: 127.6 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.1113, allocations: 12.17 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.1114, allocations: 107.7 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1116, allocations: 163.7 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1116, allocations: 4 kB / 445.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.1117, allocations: 24 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.1118, allocations: 75.75 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1118, allocations: 73.45 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.112, allocations: 187.9 kB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.112, allocations: 4 kB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.112, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.112, allocations: 3.938 kB / 446 MB, free: 9.801 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.0005762/0.1126, allocations: 0.5871 MB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1127, allocations: 12.03 kB / 446.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.1127, allocations: 30.56 kB / 446.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1128, allocations: 43.48 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.113, allocations: 283.3 kB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-06/0.113, allocations: 3.938 kB / 447 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1131, allocations: 4 kB / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1132, allocations: 53.69 kB / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1132, allocations: 4 kB / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.1132, allocations: 0 / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1132, allocations: 0 / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.1133, allocations: 27.94 kB / 447.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.1138, allocations: 396.5 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.114, allocations: 50.56 kB / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1141, allocations: 16.94 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1141, allocations: 0 / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1141, allocations: 34.52 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1141, allocations: 0 / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005976/0.1147, allocations: 244 kB / 447.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1148, allocations: 51.41 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.1156, allocations: 0.8613 MB / 448.7 MB, free: 6.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1157, allocations: 29.7 kB / 448.7 MB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1159, allocations: 220.1 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1159, allocations: 19.81 kB / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.1159, allocations: 0 / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.116, allocations: 358.8 kB / 449.3 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.1161, allocations: 19.98 kB / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.1162, allocations: 31.92 kB / 449.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.1162, allocations: 28.17 kB / 449.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1163, allocations: 0 / 449.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.1165, allocations: 129.1 kB / 449.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1165, allocations: 4 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1165, allocations: 3.984 kB / 449.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1165, allocations: 4 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1166, allocations: 8 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1166, allocations: 4 kB / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.1167, allocations: 7.984 kB / 449.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1167, allocations: 0 / 449.5 MB, free: 6.043 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 (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 0.0001769/0.1169, allocations: 221.7 kB / 449.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.1169, allocations: 47.39 kB / 449.8 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1172, allocations: 141 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1172, allocations: 3.938 kB / 449.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1172, allocations: 4 kB / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1172, allocations: 4 kB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.1178, allocations: 466.7 kB / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1178, allocations: 0 / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.1179, allocations: 15.98 kB / 450.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1179, allocations: 7.938 kB / 450.4 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1179, allocations: 4 kB / 450.4 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1179, allocations: 0 / 450.4 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.118, allocations: 3.984 kB / 450.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1182, allocations: 227.1 kB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1184, allocations: 108.6 kB / 450.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1184, allocations: 4 kB / 450.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.1185, allocations: 15.92 kB / 450.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1186, allocations: 0 / 450.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1186, allocations: 4 kB / 450.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000698/0.1193, allocations: 0.6511 MB / 451.4 MB, free: 4.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1193, allocations: 0 / 451.4 MB, free: 4.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1196, allocations: 31.89 kB / 451.5 MB, free: 4.004 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 (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.001603/0.1212, allocations: 1.043 MB / 452.5 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1214, allocations: 59.91 kB / 452.6 MB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1214, allocations: 0 / 452.6 MB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.1215, allocations: 27.98 kB / 452.6 MB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.122, allocations: 21.95 kB / 452.6 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.125, allocations: 2.313 MB / 454.9 MB, free: 496 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2094/0.3345, allocations: 0.8185 MB / 455.8 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.3346, allocations: 7.484 kB / 455.8 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3347, allocations: 101.3 kB / 455.9 MB, free: 46.08 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3348, allocations: 3 kB / 455.9 MB, free: 46.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.3503, allocations: 5.369 MB / 461.2 MB, free: 45.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.3505, allocations: 221.2 kB / 461.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.069, allocations: 0 / 461.4 MB, free: 45.46 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat