Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001327/0.001327, 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.001469/0.001469, 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.531/1.531, 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.2339/0.2339, allocations: 46.91 MB / 357.1 MB, free: 10.35 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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.91 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.14, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003251/0.1432, allocations: 1.821 MB / 0.5572 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1452, allocations: 1.11 MB / 0.5583 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1453, allocations: 4 kB / 0.5583 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.1458, allocations: 299.2 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.1463, allocations: 255.2 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1466, allocations: 99.69 kB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.147, allocations: 263.2 kB / 0.5592 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.086e-05/0.1471, allocations: 17.69 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1473, allocations: 139.5 kB / 0.5593 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.1476, allocations: 212 kB / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1476, allocations: 7.938 kB / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1477, allocations: 51.92 kB / 0.5596 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1479, allocations: 132.5 kB / 0.5597 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1481, allocations: 146.8 kB / 0.5599 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.1485, allocations: 370.2 kB / 0.5602 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1485, allocations: 0 / 0.5602 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1485, allocations: 0 / 0.5602 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1485, allocations: 0 / 0.5602 GB, free: 0.9102 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.001077/0.1496, allocations: 0.7539 MB / 0.5609 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1497, allocations: 8.031 kB / 0.561 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.1497, allocations: 42.73 kB / 0.561 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.1498, allocations: 48.61 kB / 0.561 GB, free: 0 / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.1505, allocations: 460.3 kB / 0.5615 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1505, allocations: 8.375 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1505, allocations: 3.938 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.1507, allocations: 87.36 kB / 0.5616 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1507, allocations: 0 / 0.5616 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1507, allocations: 4 kB / 0.5616 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1508, allocations: 0 / 0.5616 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1509, allocations: 35.91 kB / 0.5616 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1513, allocations: 370.4 kB / 0.562 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1516, allocations: 109.2 kB / 0.5621 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1517, allocations: 37.69 kB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1517, allocations: 7.938 kB / 0.5621 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.1519, allocations: 97.08 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1519, allocations: 4 kB / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005282/0.1525, allocations: 201.2 kB / 0.5624 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.1525, allocations: 85.09 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.1537, allocations: 1.022 MB / 0.5635 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1537, allocations: 25.7 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1539, allocations: 236.1 kB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1539, allocations: 27.78 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.154, allocations: 33.66 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1542, allocations: 374.8 kB / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.1543, allocations: 31.92 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.1544, allocations: 47.42 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1546, allocations: 99.28 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1546, allocations: 3.938 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000312/0.1549, allocations: 169.8 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1549, allocations: 5.875 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1549, allocations: 0 / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1549, allocations: 4 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1551, allocations: 31.98 kB / 0.5645 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1551, allocations: 8.062 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.1552, allocations: 15.88 kB / 0.5645 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1552, allocations: 4 kB / 0.5645 GB, free: 12.16 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002251/0.1554, allocations: 219.9 kB / 0.5648 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.1555, allocations: 51.67 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.1556, allocations: 56.09 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1556, allocations: 4 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.1556, allocations: 3.984 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1556, allocations: 0 / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.1559, allocations: 349.4 kB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1559, allocations: 0 / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.156, allocations: 11.94 kB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.156, allocations: 0 / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.156, allocations: 4 kB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.156, allocations: 4 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.156, allocations: 0 / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1563, allocations: 213.4 kB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.1565, allocations: 136.8 kB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.1565, allocations: 8 kB / 0.5656 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.1566, allocations: 0 / 0.5656 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.1567, allocations: 7.984 kB / 0.5656 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1567, allocations: 8 kB / 0.5656 GB, free: 11.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008384/0.1575, allocations: 0.7682 MB / 0.5663 GB, free: 10.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1575, allocations: 0 / 0.5663 GB, free: 10.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1578, allocations: 43.94 kB / 0.5664 GB, free: 10.2 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.002131/0.1599, allocations: 1.054 MB / 0.5674 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.1602, allocations: 79.97 kB / 0.5675 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1602, allocations: 0 / 0.5675 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1603, allocations: 35.92 kB / 0.5675 GB, free: 9.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.1607, allocations: 79.02 kB / 0.5676 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.1663, allocations: 4.481 MB / 0.572 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.1668, allocations: 0.8427 MB / 0.5728 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.167, allocations: 58.94 kB / 0.5728 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.1672, allocations: 147.4 kB / 0.573 GB, free: 3.43 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1672, allocations: 4 kB / 0.573 GB, free: 3.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.2018, allocations: 8.987 MB / 0.5818 GB, free: 10.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.759/8.96, allocations: 3.938 kB / 0.5818 GB, free: 10.5 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.338980593020096]