Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001819/0.001819, allocations: 124.4 kB / 17.79 MB, free: 5.285 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.002322/0.002322, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.446/1.446, allocations: 230.4 MB / 254 MB, free: 15.05 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.254/0.254, allocations: 46.92 MB / 357 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 71.89 kB / 0.491 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1607, allocations: 66.05 MB / 0.5555 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004537/0.1652, allocations: 1.602 MB / 0.557 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1667, allocations: 0.5449 MB / 0.5576 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.1668, allocations: 4 kB / 0.5576 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.167, allocations: 23.78 kB / 0.5576 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.1674, allocations: 75.69 kB / 0.5577 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1679, allocations: 122 kB / 0.5578 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.168, allocations: 63.78 kB / 0.5579 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1682, allocations: 15.98 kB / 0.5579 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.1682, allocations: 23.91 kB / 0.5579 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1683, allocations: 19.88 kB / 0.5579 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1683, allocations: 0 / 0.5579 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1684, allocations: 31.98 kB / 0.5579 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.1685, allocations: 15.92 kB / 0.558 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1685, allocations: 31.73 kB / 0.558 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1688, allocations: 75.67 kB / 0.5581 GB, free: 2.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1688, allocations: 8 kB / 0.5581 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1688, allocations: 0 / 0.5581 GB, free: 2.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1688, allocations: 0 / 0.5581 GB, free: 2.906 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.0006215/0.1694, allocations: 383 kB / 0.5584 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1695, allocations: 12.03 kB / 0.5584 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.1695, allocations: 38.69 kB / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1695, allocations: 12.88 kB / 0.5585 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1698, allocations: 188.2 kB / 0.5587 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1698, allocations: 4.312 kB / 0.5587 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1698, allocations: 12.31 kB / 0.5587 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.17, allocations: 50.23 kB / 0.5587 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.17, allocations: 3.938 kB / 0.5587 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.17, allocations: 4 kB / 0.5587 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.17, allocations: 0 / 0.5587 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1702, allocations: 19.98 kB / 0.5588 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.1707, allocations: 284.8 kB / 0.559 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.171, allocations: 46.5 kB / 0.5591 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.1711, allocations: 20.94 kB / 0.5591 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1711, allocations: 0 / 0.5591 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1711, allocations: 30.56 kB / 0.5591 GB, free: 1.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1711, allocations: 4 kB / 0.5591 GB, free: 1.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007934/0.1719, allocations: 153.4 kB / 0.5593 GB, free: 1.484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.172, allocations: 51.41 kB / 0.5593 GB, free: 1.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1722, allocations: 153.1 kB / 0.5595 GB, free: 1.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1722, allocations: 29.7 kB / 0.5595 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.1723, allocations: 92.08 kB / 0.5596 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1723, allocations: 23.84 kB / 0.5596 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.1724, allocations: 13.72 kB / 0.5596 GB, free: 1.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1726, allocations: 330.8 kB / 0.5599 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1727, allocations: 19.98 kB / 0.56 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1728, allocations: 19.98 kB / 0.56 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.173, allocations: 52.77 kB / 0.56 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.173, allocations: 0 / 0.56 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002976/0.1733, allocations: 93.61 kB / 0.5601 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1733, allocations: 4 kB / 0.5601 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1733, allocations: 256 / 0.5601 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1733, allocations: 0 / 0.5601 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.1734, allocations: 19.98 kB / 0.5601 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1734, allocations: 0 / 0.5601 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.1735, allocations: 7.938 kB / 0.5601 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1735, allocations: 288 / 0.5601 GB, free: 0.5352 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 0.0001481/0.1737, allocations: 129.7 kB / 0.5603 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.1737, allocations: 7.953 kB / 0.5603 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.174, allocations: 97.95 kB / 0.5604 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.174, allocations: 0 / 0.5604 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.174, allocations: 3.984 kB / 0.5604 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.174, allocations: 4 kB / 0.5604 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.1747, allocations: 358.4 kB / 0.5607 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1747, allocations: 4 kB / 0.5607 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.1747, allocations: 12 kB / 0.5607 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1747, allocations: 3.938 kB / 0.5607 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1747, allocations: 7.984 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1747, allocations: 0 / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1748, allocations: 3.938 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1751, allocations: 183.5 kB / 0.5609 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.1751, allocations: 81.06 kB / 0.561 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1752, allocations: 0 / 0.561 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.1753, allocations: 8 kB / 0.561 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1753, allocations: 15.86 kB / 0.561 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1753, allocations: 0 / 0.561 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1754, allocations: 115.2 kB / 0.5611 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1754, allocations: 0 / 0.5611 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1758, allocations: 15.94 kB / 0.5612 GB, free: 15.39 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.002429/0.1782, allocations: 1.008 MB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.1785, allocations: 51.91 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1785, allocations: 4 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1786, allocations: 27.97 kB / 0.5622 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.1792, allocations: 25.55 kB / 0.5622 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.1819, allocations: 1.469 MB / 0.5637 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.1823, allocations: 0.6924 MB / 0.5644 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.1824, allocations: 19.77 kB / 0.5644 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1825, allocations: 27.42 kB / 0.5644 GB, free: 12.08 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1825, allocations: 0 / 0.5644 GB, free: 12.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.2113, allocations: 2.58 MB / 0.5669 GB, free: 9.539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.038, allocations: 4.141 kB / 0.5669 GB, free: 9.535 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.274000289966352]