Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.000871/0.0008711, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009759/0.0009758, allocations: 174.1 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.588/1.588, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.3673/0.3673, allocations: 43.55 MB / 314.6 MB, free: 8.781 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.0004566/0.0004567, allocations: 19.94 kB / 384 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001534/0.1169, allocations: 1.271 MB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004702/0.1174, allocations: 311.8 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.1174, allocations: 4 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.1178, allocations: 447.2 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1181, allocations: 235.6 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1184, allocations: 135.8 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1185, allocations: 127.7 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.1186, allocations: 16.16 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.1187, allocations: 107.7 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1189, allocations: 167.8 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1189, allocations: 3.938 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.119, allocations: 19.98 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.1191, allocations: 79.75 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.1192, allocations: 69.45 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1194, allocations: 176 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1194, allocations: 0 / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1194, allocations: 4 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1194, allocations: 4 kB / 446 MB, free: 9.777 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005904/0.12, allocations: 0.6065 MB / 446.6 MB, free: 9.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.12, allocations: 8.031 kB / 446.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.1201, allocations: 30.56 kB / 446.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.1201, allocations: 47.39 kB / 446.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1204, allocations: 267.4 kB / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1204, allocations: 8 kB / 447 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.1204, allocations: 8 kB / 447 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1206, allocations: 61.61 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/0.1206, allocations: 0 / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-06/0.1206, allocations: 3.938 kB / 447.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.1206, allocations: 0 / 447.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1207, allocations: 51.92 kB / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1211, allocations: 388.9 kB / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.1212, allocations: 54.48 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.1213, allocations: 28.94 kB / 447.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1213, allocations: 0 / 447.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1214, allocations: 34.56 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.1214, allocations: 0 / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002724/0.1216, allocations: 149 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1217, allocations: 51.41 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.1225, allocations: 0.8613 MB / 448.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1225, allocations: 33.64 kB / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1227, allocations: 212 kB / 448.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1227, allocations: 23.8 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.1227, allocations: 0 / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1228, allocations: 354.8 kB / 449.3 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.1229, allocations: 23.98 kB / 449.3 MB, free: 6.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.123, allocations: 19.98 kB / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.123, allocations: 27.98 kB / 449.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.123, allocations: 0 / 449.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.1232, allocations: 113.2 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1233, allocations: 8 kB / 449.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.1233, allocations: 0 / 449.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1233, allocations: 7.953 kB / 449.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.1234, allocations: 15.92 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.1234, allocations: 0 / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.1234, allocations: 8 kB / 449.5 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.1234, allocations: 3.938 kB / 449.5 MB, free: 6.078 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 (3): * Single equations (assignments): 3 * 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.0001686/0.1236, allocations: 213.8 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.1237, allocations: 39.44 kB / 449.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1239, allocations: 137 kB / 449.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1239, allocations: 7.953 kB / 449.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1239, allocations: 0 / 449.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1239, allocations: 0 / 449.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.1242, allocations: 285.6 kB / 450.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1242, allocations: 0 / 450.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.1242, allocations: 15.98 kB / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1243, allocations: 0 / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1243, allocations: 4 kB / 450.2 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1243, allocations: 0 / 450.2 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1243, allocations: 7.891 kB / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1245, allocations: 214.9 kB / 450.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.1246, allocations: 116.5 kB / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1246, allocations: 3.984 kB / 450.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.1247, allocations: 8 kB / 450.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.1247, allocations: 4 kB / 450.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1247, allocations: 3.953 kB / 450.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005641/0.1253, allocations: 0.6511 MB / 451.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1253, allocations: 4 kB / 451.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.1256, allocations: 23.98 kB / 451.2 MB, free: 4.258 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 (3): * Single equations (assignments): 3 * 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.00115/0.1267, allocations: 0.9859 MB / 452.2 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1269, allocations: 51.97 kB / 452.2 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.1269, allocations: 0 / 452.2 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.127, allocations: 31.97 kB / 452.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1273, allocations: 17.97 kB / 452.3 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.1299, allocations: 2.296 MB / 454.6 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1865/0.3165, allocations: 0.8262 MB / 455.4 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.501e-05/0.3166, allocations: 8.656 kB / 455.4 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3168, allocations: 106.4 kB / 455.5 MB, free: 45.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3168, allocations: 2.969 kB / 455.5 MB, free: 45.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.3322, allocations: 5.221 MB / 460.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.3324, allocations: 221.9 kB / 461 MB, free: 45.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.068, allocations: 3.938 kB / 461 MB, free: 45.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat