Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001789/0.001789, allocations: 116.9 kB / 18.49 MB, free: 4.582 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.002076/0.002076, allocations: 213.4 kB / 21.46 MB, free: 1.629 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.572/1.572, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2417/0.2417, allocations: 46.91 MB / 357.8 MB, free: 10.33 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.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 65.99 MB / 0.5561 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003066/0.1271, allocations: 1.601 MB / 0.5576 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1289, allocations: 1.179 MB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.129, allocations: 0 / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.1292, allocations: 31.78 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1295, allocations: 83.56 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1298, allocations: 111.2 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1299, allocations: 71.77 kB / 0.5591 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.13, allocations: 4 kB / 0.5591 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.995e-05/0.1301, allocations: 31.92 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1302, allocations: 39.77 kB / 0.5592 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1302, allocations: 4 kB / 0.5592 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1304, allocations: 95.94 kB / 0.5592 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1304, allocations: 15.92 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.1305, allocations: 27.8 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1307, allocations: 139.5 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1308, allocations: 4 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1308, allocations: 0 / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1308, allocations: 0 / 0.5594 GB, free: 2.371 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.0005649/0.1313, allocations: 402.8 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1314, allocations: 16.02 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.182e-05/0.1314, allocations: 192 / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.1314, allocations: 30.75 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1315, allocations: 16.89 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1317, allocations: 200.1 kB / 0.5601 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.1317, allocations: 4.375 kB / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1317, allocations: 4.125 kB / 0.5601 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1319, allocations: 63.41 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1319, allocations: 7.984 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1319, allocations: 0 / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.1319, allocations: 0 / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.132, allocations: 19.98 kB / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1324, allocations: 288.8 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1326, allocations: 46.56 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.1327, allocations: 16.94 kB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1327, allocations: 4 kB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1327, allocations: 34.56 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1327, allocations: 0 / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000607/0.1333, allocations: 149.4 kB / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1334, allocations: 81.11 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1336, allocations: 151.6 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1336, allocations: 25.7 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.1336, allocations: 92.14 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1337, allocations: 19.8 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.1337, allocations: 21.7 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1338, allocations: 322.8 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.1339, allocations: 31.84 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/0.134, allocations: 33.64 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1342, allocations: 52.83 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1342, allocations: 0 / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002298/0.1344, allocations: 89.64 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1344, allocations: 8 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1344, allocations: 0 / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1345, allocations: 0 / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.1345, allocations: 16.17 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1345, allocations: 0 / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.1346, allocations: 11.94 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1346, allocations: 4 kB / 0.5616 GB, free: 15.9 MB / 430.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.293e-05/0.1347, allocations: 124 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.1347, allocations: 7.953 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.135, allocations: 89.97 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.135, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.135, allocations: 4 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.135, allocations: 7.922 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.1355, allocations: 358.5 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1355, allocations: 3.984 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.1355, allocations: 8 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1356, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1356, allocations: 3.938 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1356, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1356, allocations: 288 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1358, allocations: 191.4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.1359, allocations: 93.03 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1359, allocations: 7.938 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.136, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.136, allocations: 7.984 kB / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.136, allocations: 0 / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1361, allocations: 113.5 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1361, allocations: 0 / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1364, allocations: 43.8 kB / 0.5626 GB, free: 14.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.002255/0.1387, allocations: 1.112 MB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.1389, allocations: 51.97 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1389, allocations: 0 / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.139, allocations: 31.97 kB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1393, allocations: 15 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1411, allocations: 1.452 MB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1415, allocations: 0.6885 MB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.513e-05/0.1415, allocations: 24 kB / 0.5659 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.1416, allocations: 31.42 kB / 0.5659 GB, free: 11.41 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1416, allocations: 0 / 0.5659 GB, free: 11.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.1617, allocations: 3.304 MB / 0.5692 GB, free: 8.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.586, allocations: 16.86 kB / 0.5692 GB, free: 8.098 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.866081952990498]