Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001293/0.001293, 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.001378/0.001378, 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.394/1.394, allocations: 230.4 MB / 254.7 MB, free: 14.86 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.2198/0.2198, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.89 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 66.05 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003221/0.1283, allocations: 1.656 MB / 0.5578 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1293, allocations: 0.5606 MB / 0.5584 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.1294, allocations: 0 / 0.5584 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1297, allocations: 99.67 kB / 0.5584 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.13, allocations: 111.6 kB / 0.5586 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1303, allocations: 116.8 kB / 0.5587 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1305, allocations: 107.7 kB / 0.5588 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1306, allocations: 16 kB / 0.5588 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.1307, allocations: 47.77 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1308, allocations: 71.73 kB / 0.5589 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1308, allocations: 8 kB / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.1309, allocations: 47.97 kB / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.131, allocations: 27.92 kB / 0.559 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.1311, allocations: 39.69 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1313, allocations: 139.3 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1313, allocations: 0 / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1313, allocations: 4 kB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1313, allocations: 0 / 0.5591 GB, free: 2.496 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006152/0.1319, allocations: 446.5 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1319, allocations: 8.031 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.132, allocations: 4.188 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.132, allocations: 38.75 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.132, allocations: 12.84 kB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1322, allocations: 212.1 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1323, allocations: 8.312 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1323, allocations: 8.375 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1325, allocations: 73.97 kB / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1325, allocations: 3.953 kB / 0.5599 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1325, allocations: 4 kB / 0.5599 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1325, allocations: 0 / 0.5599 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1327, allocations: 43.95 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.1332, allocations: 352.7 kB / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.1333, allocations: 62.55 kB / 0.5604 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1334, allocations: 28.78 kB / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1334, allocations: 4 kB / 0.5604 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1334, allocations: 30.56 kB / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1334, allocations: 4 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.1345, allocations: 337.8 kB / 0.5608 GB, free: 0.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1345, allocations: 55.41 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1348, allocations: 240 kB / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1348, allocations: 29.7 kB / 0.5611 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.1349, allocations: 116.1 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.1349, allocations: 39.66 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1349, allocations: 29.7 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1351, allocations: 322.8 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1352, allocations: 43.97 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.1353, allocations: 50.73 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1355, allocations: 112.8 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1355, allocations: 0 / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000297/0.1358, allocations: 161.6 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1358, allocations: 6.031 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1358, allocations: 0 / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1359, allocations: 3.938 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.136, allocations: 31.98 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.136, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.136, allocations: 7.984 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.136, allocations: 4 kB / 0.562 GB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.0001195/0.1362, allocations: 141.8 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.1362, allocations: 15.91 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.1366, allocations: 186.7 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1366, allocations: 11.94 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1366, allocations: 3.938 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1366, allocations: 0 / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.1373, allocations: 0.4913 MB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.1373, allocations: 7.984 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.1374, allocations: 27.92 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1374, allocations: 8.016 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1374, allocations: 4 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1374, allocations: 7.984 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1374, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1378, allocations: 256.2 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.1378, allocations: 93 kB / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1378, allocations: 8 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.1379, allocations: 8 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1379, allocations: 7.984 kB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.138, allocations: 4 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1381, allocations: 181.2 kB / 0.5634 GB, free: 13.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1381, allocations: 3.938 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1384, allocations: 27.94 kB / 0.5634 GB, free: 13.8 MB / 430.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 (13): * Single equations (assignments): 13 * 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.002209/0.1406, allocations: 1.142 MB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1409, allocations: 103.9 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1409, allocations: 0 / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.141, allocations: 55.91 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1413, allocations: 26.39 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.1436, allocations: 1.926 MB / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1439, allocations: 0.7158 MB / 0.5673 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.419e-05/0.144, allocations: 36.52 kB / 0.5673 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.1441, allocations: 47.42 kB / 0.5673 GB, free: 9.777 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1441, allocations: 3.938 kB / 0.5674 GB, free: 9.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1626, allocations: 3.656 MB / 0.5709 GB, free: 6.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.097, allocations: 6.734 kB / 0.5709 GB, free: 6.168 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.078761828015558]