Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.00137/0.00137, allocations: 118.6 kB / 18.5 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.002261/0.002261, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.498/1.498, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2305/0.2305, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 86.81 kB / 0.4913 GB, free: 26.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1445, allocations: 65.98 MB / 0.5557 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003166/0.1477, allocations: 1.652 MB / 0.5573 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1488, allocations: 0.5839 MB / 0.5579 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.1489, allocations: 4 kB / 0.5579 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.1495, allocations: 455.1 kB / 0.5583 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.15, allocations: 291.3 kB / 0.5586 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1505, allocations: 176.8 kB / 0.5588 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1508, allocations: 175.7 kB / 0.5589 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1509, allocations: 12.28 kB / 0.559 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.151, allocations: 115.7 kB / 0.5591 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.1513, allocations: 251.5 kB / 0.5593 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1513, allocations: 4 kB / 0.5593 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.1514, allocations: 31.97 kB / 0.5593 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1516, allocations: 83.69 kB / 0.5594 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.1516, allocations: 103 kB / 0.5595 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.152, allocations: 282.5 kB / 0.5598 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.152, allocations: 3.938 kB / 0.5598 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.152, allocations: 3.938 kB / 0.5598 GB, free: 4.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.152, allocations: 0 / 0.5598 GB, free: 4.992 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.0009109/0.1529, allocations: 0.6607 MB / 0.5604 GB, free: 4.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.153, allocations: 8.031 kB / 0.5605 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.1531, allocations: 38.73 kB / 0.5605 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.1531, allocations: 44.66 kB / 0.5605 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1535, allocations: 304.6 kB / 0.5608 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1535, allocations: 8.375 kB / 0.5608 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1535, allocations: 384 / 0.5608 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1537, allocations: 70.09 kB / 0.5609 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1537, allocations: 3.938 kB / 0.5609 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1538, allocations: 0 / 0.5609 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1538, allocations: 0 / 0.5609 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1539, allocations: 31.97 kB / 0.5609 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.1545, allocations: 404.7 kB / 0.5613 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1547, allocations: 46.5 kB / 0.5614 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.1548, allocations: 16.94 kB / 0.5614 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1548, allocations: 0 / 0.5614 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1548, allocations: 38.56 kB / 0.5614 GB, free: 3.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1548, allocations: 0 / 0.5614 GB, free: 3.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.00069/0.1555, allocations: 252.9 kB / 0.5617 GB, free: 2.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.1557, allocations: 55.41 kB / 0.5617 GB, free: 2.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.1566, allocations: 0.8738 MB / 0.5626 GB, free: 1.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1566, allocations: 25.7 kB / 0.5626 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1568, allocations: 228.1 kB / 0.5628 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1568, allocations: 11.86 kB / 0.5628 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1569, allocations: 25.7 kB / 0.5628 GB, free: 1.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1571, allocations: 366.7 kB / 0.5632 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.1572, allocations: 19.98 kB / 0.5632 GB, free: 1.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.1572, allocations: 23.97 kB / 0.5632 GB, free: 1.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1574, allocations: 56.77 kB / 0.5633 GB, free: 1.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1574, allocations: 0 / 0.5633 GB, free: 1.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002402/0.1576, allocations: 129.4 kB / 0.5634 GB, free: 1.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1576, allocations: 8 kB / 0.5634 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1576, allocations: 0 / 0.5634 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1577, allocations: 0 / 0.5634 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.1577, allocations: 8 kB / 0.5634 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1577, allocations: 0 / 0.5634 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.1578, allocations: 7.984 kB / 0.5634 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1578, allocations: 4 kB / 0.5634 GB, free: 1.023 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.0002244/0.158, allocations: 221.7 kB / 0.5636 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.1581, allocations: 47.67 kB / 0.5637 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1584, allocations: 149 kB / 0.5638 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1584, allocations: 0 / 0.5638 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1584, allocations: 3.938 kB / 0.5638 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1584, allocations: 4 kB / 0.5638 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.1591, allocations: 474.7 kB / 0.5643 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1591, allocations: 4.062 kB / 0.5643 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.1592, allocations: 15.98 kB / 0.5643 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1592, allocations: 0 / 0.5643 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.1592, allocations: 0 / 0.5643 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1592, allocations: 3.938 kB / 0.5643 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1592, allocations: 0 / 0.5643 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1595, allocations: 223.2 kB / 0.5645 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1596, allocations: 116.8 kB / 0.5646 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1596, allocations: 0 / 0.5646 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.1597, allocations: 11.94 kB / 0.5647 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1598, allocations: 3.984 kB / 0.5647 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1598, allocations: 4 kB / 0.5647 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007371/0.1605, allocations: 0.6628 MB / 0.5653 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1605, allocations: 0 / 0.5653 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1608, allocations: 27.95 kB / 0.5653 GB, free: 14.97 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.002114/0.1629, allocations: 1.054 MB / 0.5664 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.1631, allocations: 51.91 kB / 0.5664 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1631, allocations: 0 / 0.5664 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.1632, allocations: 31.97 kB / 0.5664 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1636, allocations: 28.38 kB / 0.5665 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.1676, allocations: 3.279 MB / 0.5697 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.1681, allocations: 0.8299 MB / 0.5705 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.1682, allocations: 20.75 kB / 0.5705 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.1684, allocations: 119.3 kB / 0.5706 GB, free: 9.562 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1684, allocations: 3.938 kB / 0.5706 GB, free: 9.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.1987, allocations: 6.136 MB / 0.5766 GB, free: 3.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/8.959, allocations: 11.8 kB / 0.5766 GB, free: 3.449 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 12.058087307959795]