Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001743/0.001743, allocations: 123.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.002207/0.002207, allocations: 200.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.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2332/0.2332, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 0.491 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1345, allocations: 65.99 MB / 0.5554 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003766/0.1383, allocations: 1.825 MB / 0.5572 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.1413, allocations: 1.717 MB / 0.5589 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1414, allocations: 3.938 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1417, allocations: 51.69 kB / 0.559 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.1422, allocations: 143.4 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1425, allocations: 103.6 kB / 0.5592 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1428, allocations: 203.3 kB / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.183e-05/0.1429, allocations: 5.688 kB / 0.5594 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.143, allocations: 99.55 kB / 0.5595 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1433, allocations: 91.59 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.1433, allocations: 8 kB / 0.5596 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1436, allocations: 107.9 kB / 0.5597 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.1436, allocations: 35.89 kB / 0.5597 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.1437, allocations: 63.53 kB / 0.5598 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.1441, allocations: 231.1 kB / 0.56 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1441, allocations: 0 / 0.56 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1441, allocations: 0 / 0.56 GB, free: 1.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1441, allocations: 0 / 0.56 GB, free: 1.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007852/0.1449, allocations: 0.5019 MB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.145, allocations: 12.03 kB / 0.5605 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.145, allocations: 38.67 kB / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.1451, allocations: 20.78 kB / 0.5606 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1455, allocations: 261.1 kB / 0.5608 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1455, allocations: 384 / 0.5608 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1455, allocations: 7.938 kB / 0.5608 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1458, allocations: 105 kB / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1458, allocations: 0 / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1458, allocations: 0 / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1458, allocations: 0 / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1459, allocations: 27.98 kB / 0.5609 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.1462, allocations: 218.5 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1465, allocations: 105.1 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.1466, allocations: 41.69 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1467, allocations: 4 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.1469, allocations: 113 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1469, allocations: 0 / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005067/0.1474, allocations: 165.4 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.1475, allocations: 132.5 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1478, allocations: 244.1 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1478, allocations: 29.7 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.1479, allocations: 120.1 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.148, allocations: 23.81 kB / 0.5621 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.1481, allocations: 33.7 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1482, allocations: 326.8 kB / 0.5624 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.1483, allocations: 27.98 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1485, allocations: 73.12 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1487, allocations: 87.36 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1487, allocations: 3.938 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003061/0.149, allocations: 138.2 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.149, allocations: 13.66 kB / 0.5628 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.149, allocations: 4 kB / 0.5628 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.149, allocations: 0 / 0.5628 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1491, allocations: 23.98 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1491, allocations: 4 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.1492, allocations: 15.89 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1492, allocations: 4 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001305/0.1494, allocations: 143.9 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.1494, allocations: 27.84 kB / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.1495, allocations: 20.98 kB / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1495, allocations: 0 / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1495, allocations: 0 / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1495, allocations: 4 kB / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1497, allocations: 229.5 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1497, allocations: 0 / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1498, allocations: 11.98 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1498, allocations: 0 / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1498, allocations: 4 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1498, allocations: 0 / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1498, allocations: 4 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1501, allocations: 165.7 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.1502, allocations: 104.9 kB / 0.5635 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1502, allocations: 0 / 0.5635 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1503, allocations: 7.984 kB / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1503, allocations: 12 kB / 0.5635 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1503, allocations: 11.92 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1505, allocations: 181.6 kB / 0.5637 GB, free: 12.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1505, allocations: 0 / 0.5637 GB, free: 12.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1509, allocations: 47.92 kB / 0.5637 GB, free: 12.88 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002398/0.1533, allocations: 1.118 MB / 0.5648 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1535, allocations: 75.91 kB / 0.5649 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1535, allocations: 0 / 0.5649 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1536, allocations: 39.92 kB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.154, allocations: 56.02 kB / 0.565 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1565, allocations: 1.886 MB / 0.5668 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1569, allocations: 0.7242 MB / 0.5675 GB, free: 9.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.863e-05/0.157, allocations: 33.47 kB / 0.5676 GB, free: 8.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.1571, allocations: 59.39 kB / 0.5676 GB, free: 8.918 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1571, allocations: 0 / 0.5676 GB, free: 8.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.188, allocations: 5.34 MB / 0.5728 GB, free: 3.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.504, allocations: 10.97 kB / 0.5729 GB, free: 3.609 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.636895421892405]