Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003126/0.003126, allocations: 67.89 kB / 0.491 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1561, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003252/0.1593, allocations: 1.589 MB / 0.557 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1604, allocations: 0.5533 MB / 0.5575 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.1605, allocations: 4 kB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.1607, allocations: 23.84 kB / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.161, allocations: 79.62 kB / 0.5576 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1613, allocations: 107.7 kB / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1615, allocations: 67.77 kB / 0.5578 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.1616, allocations: 11.98 kB / 0.5578 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.1616, allocations: 23.92 kB / 0.5578 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.1617, allocations: 27.86 kB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1617, allocations: 0 / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/0.1618, allocations: 31.98 kB / 0.5579 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.1618, allocations: 19.92 kB / 0.5579 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.1619, allocations: 23.8 kB / 0.5579 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1621, allocations: 87.55 kB / 0.558 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1621, allocations: 4 kB / 0.558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1621, allocations: 0 / 0.558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1621, allocations: 0 / 0.558 GB, free: 3.18 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.0005289/0.1626, allocations: 398.9 kB / 0.5584 GB, free: 2.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1626, allocations: 8.031 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.1627, allocations: 38.69 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.1627, allocations: 8.891 kB / 0.5584 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1629, allocations: 188.3 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1629, allocations: 384 / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1629, allocations: 4.375 kB / 0.5586 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1631, allocations: 57.55 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1631, allocations: 4 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1631, allocations: 0 / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1631, allocations: 4 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.1632, allocations: 19.98 kB / 0.5587 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1636, allocations: 284.8 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1639, allocations: 50.5 kB / 0.559 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1639, allocations: 12.94 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1639, allocations: 8 kB / 0.559 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.164, allocations: 30.56 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.164, allocations: 0 / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006117/0.1646, allocations: 153.3 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1646, allocations: 51.41 kB / 0.5592 GB, free: 1.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1648, allocations: 173.8 kB / 0.5594 GB, free: 1.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1648, allocations: 29.64 kB / 0.5594 GB, free: 1.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.1649, allocations: 96.12 kB / 0.5595 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1649, allocations: 23.78 kB / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.1649, allocations: 17.72 kB / 0.5596 GB, free: 1.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1651, allocations: 318.8 kB / 0.5599 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.1652, allocations: 19.98 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.1652, allocations: 23.98 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1654, allocations: 56.81 kB / 0.56 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1654, allocations: 0 / 0.56 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002068/0.1656, allocations: 85.56 kB / 0.5601 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1656, allocations: 9.875 kB / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1656, allocations: 256 / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1656, allocations: 0 / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1657, allocations: 19.98 kB / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1657, allocations: 7.938 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1658, allocations: 3.984 kB / 0.5601 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1658, allocations: 4 kB / 0.5601 GB, free: 0.7812 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.00011/0.1659, allocations: 116 kB / 0.5602 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1659, allocations: 11.95 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.1662, allocations: 101.9 kB / 0.5603 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1662, allocations: 4 kB / 0.5603 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1662, allocations: 3.938 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1662, allocations: 4.281 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.1667, allocations: 350.5 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1667, allocations: 0 / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.1667, allocations: 15.92 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1667, allocations: 11.92 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1667, allocations: 0 / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1667, allocations: 4 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1668, allocations: 3.984 kB / 0.5607 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.167, allocations: 179.5 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.1671, allocations: 85.06 kB / 0.5609 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1671, allocations: 7.938 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1672, allocations: 3.984 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1672, allocations: 8 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1672, allocations: 4.125 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1674, allocations: 130.4 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1674, allocations: 0 / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1676, allocations: 19.94 kB / 0.5611 GB, free: 15.63 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.001991/0.1696, allocations: 1.022 MB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1698, allocations: 47.97 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1698, allocations: 3.938 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.1699, allocations: 23.98 kB / 0.5622 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1703, allocations: 15.98 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1721, allocations: 1.503 MB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1725, allocations: 0.7001 MB / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.1725, allocations: 11.78 kB / 0.5644 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.1726, allocations: 27.42 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1726, allocations: 4 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.2, allocations: 2.642 MB / 0.567 GB, free: 9.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.292, allocations: 10.95 kB / 0.567 GB, free: 9.691 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.31759784789756]