Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 44.92 MB / 349.6 MB, free: 1.723 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 70.28 kB / 491.9 MB, free: 29.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1548, allocations: 64.25 MB / 0.5431 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003285/0.1581, allocations: 1.715 MB / 0.5448 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1597, allocations: 0.8924 MB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.1598, allocations: 0 / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1601, allocations: 43.83 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1603, allocations: 67.67 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1606, allocations: 111.6 kB / 0.5458 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1608, allocations: 91.7 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1609, allocations: 16.5 kB / 0.5459 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.161, allocations: 43.78 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.1611, allocations: 27.8 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1611, allocations: 4 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1613, allocations: 43.98 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.1613, allocations: 39.83 kB / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.1614, allocations: 43.62 kB / 0.5461 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1617, allocations: 135.4 kB / 0.5463 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1617, allocations: 0 / 0.5463 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1617, allocations: 0 / 0.5463 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1617, allocations: 0 / 0.5463 GB, free: 0.7461 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007281/0.1624, allocations: 450.5 kB / 0.5467 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1624, allocations: 8.031 kB / 0.5467 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.1625, allocations: 34.73 kB / 0.5467 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1625, allocations: 16.84 kB / 0.5468 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.163, allocations: 229 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.163, allocations: 4.312 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.163, allocations: 7.938 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1632, allocations: 53.67 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1632, allocations: 4 kB / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1632, allocations: 0 / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1632, allocations: 0 / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.1633, allocations: 19.98 kB / 0.5471 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.1638, allocations: 292.9 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.164, allocations: 62.62 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.164, allocations: 24.84 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1641, allocations: 0 / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.1643, allocations: 63.39 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1643, allocations: 4 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006125/0.1649, allocations: 181.3 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1649, allocations: 55.41 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1652, allocations: 279.7 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1653, allocations: 25.7 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.1653, allocations: 116.1 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1654, allocations: 31.73 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1654, allocations: 17.72 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1656, allocations: 334.8 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.1657, allocations: 19.94 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.1657, allocations: 45.64 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1659, allocations: 53.7 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1659, allocations: 0 / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.1661, allocations: 113.5 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1661, allocations: 8 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1661, allocations: 3.938 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1661, allocations: 3.984 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1662, allocations: 16.03 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1662, allocations: 4 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1663, allocations: 3.938 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1663, allocations: 4 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000135/0.1664, allocations: 141.8 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1665, allocations: 15.91 kB / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.1665, allocations: 21.41 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1665, allocations: 0 / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1665, allocations: 0 / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1665, allocations: 11.92 kB / 0.5489 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.1671, allocations: 395.5 kB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1671, allocations: 4 kB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1671, allocations: 7.984 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1671, allocations: 7.938 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1671, allocations: 4.375 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1671, allocations: 0 / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1671, allocations: 8 kB / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1674, allocations: 208.2 kB / 0.5495 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.1675, allocations: 93.02 kB / 0.5496 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1675, allocations: 7.922 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1676, allocations: 4 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1676, allocations: 4 kB / 0.5496 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1677, allocations: 7.984 kB / 0.5496 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.1679, allocations: 209.5 kB / 0.5498 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1679, allocations: 0 / 0.5498 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1682, allocations: 23.94 kB / 0.5499 GB, free: 12.7 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002328/0.1705, allocations: 1.109 MB / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1707, allocations: 55.91 kB / 0.551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1707, allocations: 0 / 0.551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1708, allocations: 28.11 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1712, allocations: 27.97 kB / 0.5511 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.1736, allocations: 1.844 MB / 0.5529 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.1741, allocations: 0.722 MB / 0.5536 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.1741, allocations: 12.88 kB / 0.5536 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.1742, allocations: 47.41 kB / 0.5536 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1742, allocations: 0 / 0.5536 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2026, allocations: 3.79 MB / 0.5573 GB, free: 5.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.042, allocations: 4 kB / 0.5573 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.145298852119595]