Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.92 MB / 357.1 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 0.4909 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 65.98 MB / 0.5554 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002938/0.1227, allocations: 1.61 MB / 0.557 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1237, allocations: 0.5417 MB / 0.5575 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.1238, allocations: 3.938 kB / 0.5575 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.124, allocations: 23.8 kB / 0.5575 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1243, allocations: 83.61 kB / 0.5576 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1246, allocations: 111.1 kB / 0.5577 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1248, allocations: 71.77 kB / 0.5578 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1249, allocations: 4 kB / 0.5578 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.125, allocations: 23.91 kB / 0.5578 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.125, allocations: 27.8 kB / 0.5578 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.125, allocations: 4 kB / 0.5578 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.323e-05/0.1251, allocations: 35.98 kB / 0.5579 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.1252, allocations: 11.94 kB / 0.5579 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1252, allocations: 23.8 kB / 0.5579 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1254, allocations: 79.66 kB / 0.558 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1254, allocations: 0 / 0.558 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1254, allocations: 4 kB / 0.558 GB, free: 3.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1254, allocations: 0 / 0.558 GB, free: 3.262 MB / 414.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.0005297/0.1259, allocations: 383 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.126, allocations: 15.97 kB / 0.5584 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.126, allocations: 42.69 kB / 0.5584 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1261, allocations: 8.891 kB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1263, allocations: 194 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.1263, allocations: 384 / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1263, allocations: 4.375 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1265, allocations: 57.62 kB / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1265, allocations: 0 / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1265, allocations: 0 / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1265, allocations: 0 / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1266, allocations: 23.97 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.1271, allocations: 284.8 kB / 0.5589 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1273, allocations: 50.55 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1274, allocations: 12.86 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1274, allocations: 4 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1274, allocations: 34.64 kB / 0.559 GB, free: 2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1274, allocations: 0 / 0.559 GB, free: 2 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000654/0.1281, allocations: 157.4 kB / 0.5592 GB, free: 1.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1281, allocations: 51.41 kB / 0.5592 GB, free: 1.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1283, allocations: 151.7 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1283, allocations: 29.64 kB / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.1284, allocations: 100.1 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1284, allocations: 11.86 kB / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1284, allocations: 17.72 kB / 0.5595 GB, free: 1.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1286, allocations: 330.8 kB / 0.5599 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.1287, allocations: 19.98 kB / 0.5599 GB, free: 1.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.1287, allocations: 27.91 kB / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1289, allocations: 52.83 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1289, allocations: 0 / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.1291, allocations: 81.62 kB / 0.56 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1291, allocations: 8 kB / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1291, allocations: 7.984 kB / 0.56 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1291, allocations: 256 / 0.56 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.1292, allocations: 11.94 kB / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1292, allocations: 7.938 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.1292, allocations: 7.984 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1293, allocations: 3.938 kB / 0.5601 GB, free: 0.8789 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.433e-05/0.1294, allocations: 120 kB / 0.5602 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.1294, allocations: 11.95 kB / 0.5602 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1297, allocations: 93.95 kB / 0.5603 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1297, allocations: 4 kB / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1297, allocations: 0 / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1297, allocations: 0 / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1301, allocations: 358.4 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1301, allocations: 0 / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.1302, allocations: 19.98 kB / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1302, allocations: 0 / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1302, allocations: 0 / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1302, allocations: 3.938 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1302, allocations: 0 / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1305, allocations: 187.4 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1306, allocations: 85.06 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1306, allocations: 4 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.1307, allocations: 7.922 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1307, allocations: 4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1307, allocations: 4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.888e-05/0.1308, allocations: 116.8 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1308, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.131, allocations: 19.94 kB / 0.5611 GB, free: 15.75 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002067/0.1331, allocations: 1.023 MB / 0.5621 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1333, allocations: 47.95 kB / 0.5621 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1333, allocations: 0 / 0.5621 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.1334, allocations: 27.98 kB / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1338, allocations: 23.86 kB / 0.5622 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1356, allocations: 1.46 MB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1359, allocations: 0.6924 MB / 0.5643 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.136, allocations: 23.77 kB / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.136, allocations: 27.42 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.136, allocations: 0 / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1599, allocations: 2.592 MB / 0.5668 GB, free: 9.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.21, allocations: 7.438 kB / 0.5668 GB, free: 9.898 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.39341484499164]