Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001366/0.001366, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001339/0.001339, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2138/0.2138, 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 66.05 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003317/0.1253, allocations: 1.652 MB / 0.5578 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1265, allocations: 0.5917 MB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.1266, allocations: 4 kB / 0.5584 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.1272, allocations: 451.1 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.1277, allocations: 295.3 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1282, allocations: 180.6 kB / 0.5593 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1284, allocations: 183.6 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1286, allocations: 15.98 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1287, allocations: 111.7 kB / 0.5596 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.129, allocations: 259.5 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.129, allocations: 4 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.1291, allocations: 31.94 kB / 0.5598 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1292, allocations: 87.62 kB / 0.5599 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/0.1293, allocations: 111 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.1297, allocations: 274.6 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1297, allocations: 0 / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1297, allocations: 3.938 kB / 0.5603 GB, free: 1.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1297, allocations: 4 kB / 0.5603 GB, free: 1.301 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008294/0.1305, allocations: 0.6801 MB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1306, allocations: 8.031 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/0.1306, allocations: 192 / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.1306, allocations: 34.75 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1307, allocations: 40.66 kB / 0.561 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.131, allocations: 312.6 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.131, allocations: 8.375 kB / 0.5613 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.131, allocations: 4.375 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1312, allocations: 69.92 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1312, allocations: 0 / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1312, allocations: 0 / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1313, allocations: 4 kB / 0.5614 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1314, allocations: 43.95 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.132, allocations: 408.7 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1321, allocations: 46.5 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.1322, allocations: 24.94 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1322, allocations: 3.984 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1322, allocations: 30.56 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.956e-06/0.1322, allocations: 7.938 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008945/0.1331, allocations: 316.7 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1332, allocations: 51.41 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009068/0.1341, allocations: 0.8776 MB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1341, allocations: 29.7 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1343, allocations: 220 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1343, allocations: 23.8 kB / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1343, allocations: 21.7 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1345, allocations: 366.7 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1346, allocations: 35.95 kB / 0.5638 GB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1348, allocations: 39.97 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.135, allocations: 88.8 kB / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.135, allocations: 3.938 kB / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003377/0.1353, allocations: 161.3 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1354, allocations: 9.875 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1354, allocations: 4 kB / 0.5641 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1354, allocations: 0 / 0.5641 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1355, allocations: 23.92 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1355, allocations: 0 / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.1356, allocations: 11.98 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1356, allocations: 7.938 kB / 0.5642 GB, free: 13.09 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 (7): * Single equations (assignments): 7 * 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 0.0001983/0.1358, allocations: 213.8 kB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.1359, allocations: 47.72 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.1363, allocations: 189.8 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1363, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1363, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1363, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.137, allocations: 0.5139 MB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.137, allocations: 0 / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.1371, allocations: 19.98 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1371, allocations: 0 / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1371, allocations: 7.984 kB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1371, allocations: 7.938 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1371, allocations: 0 / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.1375, allocations: 263.1 kB / 0.5654 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.1376, allocations: 108.8 kB / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1376, allocations: 0 / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1377, allocations: 20.14 kB / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1378, allocations: 15.98 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1378, allocations: 0 / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006502/0.1384, allocations: 0.655 MB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1384, allocations: 4 kB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1387, allocations: 23.98 kB / 0.5662 GB, free: 10.91 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 (7): * Single equations (assignments): 7 * 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.002005/0.1407, allocations: 1.082 MB / 0.5672 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.141, allocations: 91.86 kB / 0.5673 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.141, allocations: 0 / 0.5673 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1411, allocations: 43.97 kB / 0.5674 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1415, allocations: 33.73 kB / 0.5674 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.1456, allocations: 3.39 MB / 0.5707 GB, free: 6.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.146, allocations: 0.8299 MB / 0.5715 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.1461, allocations: 28.94 kB / 0.5716 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1463, allocations: 119.4 kB / 0.5717 GB, free: 5.293 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1463, allocations: 0 / 0.5717 GB, free: 5.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1677, allocations: 6.331 MB / 0.5779 GB, free: 15.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.542, allocations: 4.625 kB / 0.5779 GB, free: 15.01 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.519622629974037]