Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.0009971/0.000997, allocations: 95.64 kB / 16.98 MB, free: 5.938 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.0009283/0.0009285, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.415/1.415, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1938/0.1938, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003865, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001991/0.116, allocations: 1.275 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.1167, allocations: 367.6 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.1168, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1171, allocations: 91.73 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1172, allocations: 59.84 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1175, allocations: 71.8 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1176, allocations: 55.86 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.1177, allocations: 12.17 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.1178, allocations: 31.91 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.742e-05/0.1179, allocations: 35.84 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1179, allocations: 0 / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.118, allocations: 35.91 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.118, allocations: 19.92 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.1181, allocations: 37.7 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1182, allocations: 76.11 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1182, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1182, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1182, allocations: 0 / 473.7 MB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004357/0.1187, allocations: 395 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1187, allocations: 12.03 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.1188, allocations: 30.56 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.1188, allocations: 15.81 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.119, allocations: 199.5 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.119, allocations: 4 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.119, allocations: 7.953 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1192, allocations: 61.55 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1192, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1192, allocations: 4 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1192, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.1193, allocations: 35.98 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1196, allocations: 292.7 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.1197, allocations: 54.48 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1198, allocations: 0 / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1198, allocations: 34.56 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1198, allocations: 0 / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008239/0.1206, allocations: 245.2 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1207, allocations: 51.41 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1209, allocations: 224 kB / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1209, allocations: 37.69 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.121, allocations: 104 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.121, allocations: 27.64 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.121, allocations: 4 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1212, allocations: 326.8 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1213, allocations: 23.98 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.1213, allocations: 40 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.1214, allocations: 31.97 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1214, allocations: 0 / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.1217, allocations: 113.5 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1217, allocations: 4 kB / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1217, allocations: 0 / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1217, allocations: 0 / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1218, allocations: 19.98 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1218, allocations: 0 / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.1219, allocations: 16.36 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1219, allocations: 0 / 476.1 MB, free: 8.883 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 0.0001097/0.122, allocations: 138.2 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.122, allocations: 7.906 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1223, allocations: 131.2 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1223, allocations: 7.984 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1223, allocations: 4 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1223, allocations: 0 / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1228, allocations: 411.3 kB / 476.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1228, allocations: 0 / 476.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.1229, allocations: 27.95 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1229, allocations: 0 / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1229, allocations: 4 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1229, allocations: 4 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1229, allocations: 3.938 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1232, allocations: 225.8 kB / 477 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.1232, allocations: 89.02 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1233, allocations: 4 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.1233, allocations: 11.98 kB / 477.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1234, allocations: 7.953 kB / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1234, allocations: 4 kB / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.1235, allocations: 175.5 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.1236, allocations: 0 / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1238, allocations: 27.94 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001545/0.1254, allocations: 1.167 MB / 478.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1256, allocations: 71.89 kB / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1256, allocations: 0 / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.89e-05/0.1257, allocations: 44.05 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.126, allocations: 15.94 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1271, allocations: 0.7689 MB / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1274, allocations: 0.7238 MB / 480.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.52e-05/0.1275, allocations: 12.66 kB / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.1275, allocations: 31.42 kB / 480.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1276, allocations: 0 / 480.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.1402, allocations: 2.637 MB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.1405, allocations: 213.5 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.85, allocations: 0 / 483 MB, free: 2.004 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat