Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.0009566/0.0009566, allocations: 92.17 kB / 15.71 MB, free: 452 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.001442/0.001442, allocations: 180.4 kB / 16.59 MB, free: 6.848 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.501/1.501, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3283/0.3283, allocations: 43.54 MB / 314.6 MB, free: 8.809 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.0005596/0.0005599, allocations: 27.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1123, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001878/0.1142, allocations: 1.314 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.1148, allocations: 327.8 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.1149, allocations: 0 / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.1155, allocations: 435.2 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.1159, allocations: 243.5 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.1163, allocations: 135.8 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1166, allocations: 127.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1167, allocations: 20.44 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1169, allocations: 111.7 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1172, allocations: 155.8 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1172, allocations: 3.938 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1173, allocations: 31.98 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1174, allocations: 75.75 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.1175, allocations: 73.45 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1178, allocations: 183.7 kB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1178, allocations: 8 kB / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1178, allocations: 0 / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1178, allocations: 0 / 446.1 MB, free: 9.738 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.0007582/0.1186, allocations: 0.6026 MB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1187, allocations: 12.03 kB / 446.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1187, allocations: 30.56 kB / 446.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.1188, allocations: 43.39 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1191, allocations: 283.4 kB / 447 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1191, allocations: 8 kB / 447.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1191, allocations: 3.938 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1193, allocations: 61.67 kB / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1193, allocations: 0 / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1193, allocations: 0 / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1194, allocations: 0 / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.1195, allocations: 35.94 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.12, allocations: 404.6 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1202, allocations: 46.5 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.1202, allocations: 20.94 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1203, allocations: 8 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1203, allocations: 34.52 kB / 447.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1203, allocations: 0 / 447.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006219/0.1209, allocations: 244 kB / 447.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.121, allocations: 55.41 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008695/0.1219, allocations: 0.8691 MB / 448.8 MB, free: 6.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1219, allocations: 25.7 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1221, allocations: 220.1 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1221, allocations: 27.7 kB / 449.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1221, allocations: 0 / 449.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1222, allocations: 362.8 kB / 449.4 MB, free: 6.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.1223, allocations: 23.98 kB / 449.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1224, allocations: 31.91 kB / 449.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.257e-05/0.1225, allocations: 31.98 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1225, allocations: 0 / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.1227, allocations: 125.2 kB / 449.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1227, allocations: 8 kB / 449.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1227, allocations: 3.938 kB / 449.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1228, allocations: 0 / 449.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.1228, allocations: 19.98 kB / 449.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1228, allocations: 0 / 449.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.1229, allocations: 4 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1229, allocations: 7.984 kB / 449.7 MB, free: 5.898 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.0001635/0.1231, allocations: 213.8 kB / 449.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1231, allocations: 47.39 kB / 449.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1234, allocations: 153 kB / 450.1 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1234, allocations: 0 / 450.1 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1234, allocations: 3.938 kB / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1234, allocations: 0 / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.124, allocations: 486.7 kB / 450.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.124, allocations: 0 / 450.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.124, allocations: 15.98 kB / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.124, allocations: 0 / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1241, allocations: 4 kB / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1241, allocations: 0 / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1241, allocations: 0 / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1243, allocations: 227 kB / 450.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.1244, allocations: 120.8 kB / 450.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1244, allocations: 0 / 450.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1245, allocations: 4 kB / 450.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1246, allocations: 19.92 kB / 451 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1246, allocations: 3.984 kB / 451 MB, free: 4.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005889/0.1252, allocations: 0.655 MB / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1252, allocations: 0 / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1254, allocations: 20 kB / 451.6 MB, free: 3.848 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.001236/0.1267, allocations: 1.066 MB / 452.7 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1269, allocations: 55.91 kB / 452.8 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1269, allocations: 4 kB / 452.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.127, allocations: 31.98 kB / 452.8 MB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1273, allocations: 26.28 kB / 452.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.13, allocations: 2.345 MB / 455.2 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.211/0.3411, allocations: 0.8203 MB / 456 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.3412, allocations: 13.55 kB / 456 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3414, allocations: 114.7 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3414, allocations: 1.406 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.3585, allocations: 5.425 MB / 461.5 MB, free: 45.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.3587, allocations: 225.4 kB / 461.8 MB, free: 45.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.157, allocations: 4.5 kB / 461.8 MB, free: 45.33 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat