Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 230.5 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 80.16 kB / 0.4917 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1203, allocations: 66.04 MB / 0.5562 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002935/0.1232, allocations: 1.603 MB / 0.5577 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1249, allocations: 1.179 MB / 0.5589 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.1249, allocations: 0 / 0.5589 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1251, allocations: 27.86 kB / 0.5589 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1254, allocations: 83.61 kB / 0.559 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1257, allocations: 113.4 kB / 0.5591 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1258, allocations: 67.78 kB / 0.5592 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.1259, allocations: 19.91 kB / 0.5592 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.1259, allocations: 23.92 kB / 0.5592 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1261, allocations: 35.84 kB / 0.5592 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1261, allocations: 4 kB / 0.5592 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1263, allocations: 95.88 kB / 0.5593 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1263, allocations: 19.92 kB / 0.5594 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1263, allocations: 23.8 kB / 0.5594 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1266, allocations: 139.5 kB / 0.5595 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1266, allocations: 3.938 kB / 0.5595 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1266, allocations: 4 kB / 0.5595 GB, free: 5.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1266, allocations: 0 / 0.5595 GB, free: 5.223 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.0005134/0.1271, allocations: 406.8 kB / 0.5599 GB, free: 4.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1271, allocations: 8.031 kB / 0.5599 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.366e-05/0.1271, allocations: 4.188 kB / 0.5599 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.1272, allocations: 34.75 kB / 0.56 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1272, allocations: 8.891 kB / 0.56 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1274, allocations: 196.2 kB / 0.5601 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.1274, allocations: 4.359 kB / 0.5602 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1274, allocations: 4.375 kB / 0.5602 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1276, allocations: 71.64 kB / 0.5602 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1276, allocations: 4 kB / 0.5602 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1276, allocations: 0 / 0.5602 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1276, allocations: 0 / 0.5602 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.1277, allocations: 23.98 kB / 0.5602 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1281, allocations: 280.9 kB / 0.5605 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1283, allocations: 50.48 kB / 0.5606 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.1284, allocations: 16.86 kB / 0.5606 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1284, allocations: 96 / 0.5606 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1284, allocations: 38.55 kB / 0.5606 GB, free: 3.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1284, allocations: 0 / 0.5606 GB, free: 3.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005655/0.129, allocations: 157.3 kB / 0.5608 GB, free: 3.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.129, allocations: 81.11 kB / 0.5608 GB, free: 3.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1292, allocations: 144 kB / 0.561 GB, free: 3.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1292, allocations: 29.7 kB / 0.561 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1293, allocations: 92.12 kB / 0.5611 GB, free: 3.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1293, allocations: 19.84 kB / 0.5611 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1293, allocations: 21.72 kB / 0.5611 GB, free: 3.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1295, allocations: 326.8 kB / 0.5615 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.1296, allocations: 23.98 kB / 0.5615 GB, free: 2.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.1296, allocations: 33.7 kB / 0.5615 GB, free: 2.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1298, allocations: 56.75 kB / 0.5616 GB, free: 2.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1298, allocations: 0 / 0.5616 GB, free: 2.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002002/0.13, allocations: 85.62 kB / 0.5616 GB, free: 2.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.13, allocations: 4 kB / 0.5616 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.13, allocations: 7.969 kB / 0.5617 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.13, allocations: 0 / 0.5617 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.1301, allocations: 15.98 kB / 0.5617 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1301, allocations: 0 / 0.5617 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.1301, allocations: 15.86 kB / 0.5617 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1302, allocations: 0 / 0.5617 GB, free: 2.75 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.166e-05/0.1302, allocations: 117.8 kB / 0.5618 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.1303, allocations: 7.953 kB / 0.5618 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1305, allocations: 105.9 kB / 0.5619 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1305, allocations: 0 / 0.5619 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1305, allocations: 0 / 0.5619 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1306, allocations: 0 / 0.5619 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.1311, allocations: 366.7 kB / 0.5623 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1311, allocations: 4 kB / 0.5623 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.1312, allocations: 11.98 kB / 0.5623 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1312, allocations: 4 kB / 0.5623 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1312, allocations: 0 / 0.5623 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1312, allocations: 3.938 kB / 0.5623 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1312, allocations: 4 kB / 0.5623 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1314, allocations: 175.5 kB / 0.5624 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1315, allocations: 85.06 kB / 0.5625 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1315, allocations: 4 kB / 0.5625 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.1316, allocations: 16.2 kB / 0.5625 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.1316, allocations: 3.938 kB / 0.5626 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1316, allocations: 4 kB / 0.5626 GB, free: 1.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1317, allocations: 117.1 kB / 0.5627 GB, free: 1.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1317, allocations: 0 / 0.5627 GB, free: 1.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.132, allocations: 35.88 kB / 0.5627 GB, free: 1.598 MB / 414.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.002186/0.1342, allocations: 1.102 MB / 0.5638 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1344, allocations: 51.89 kB / 0.5638 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1344, allocations: 0 / 0.5638 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.1345, allocations: 24.11 kB / 0.5639 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1349, allocations: 30.64 kB / 0.5639 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1367, allocations: 1.451 MB / 0.5653 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.1373, allocations: 0.6924 MB / 0.566 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.964e-05/0.1374, allocations: 15.77 kB / 0.566 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1374, allocations: 31.42 kB / 0.566 GB, free: 14.24 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1374, allocations: 0 / 0.566 GB, free: 14.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.1585, allocations: 3.293 MB / 0.5692 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.187, allocations: 8 kB / 0.5692 GB, free: 10.95 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.145729909010697]