Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001323/0.001323, 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.00277/0.00277, 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.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.239/0.239, 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.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 75.88 kB / 0.491 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1405, allocations: 65.99 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003867/0.1444, allocations: 1.839 MB / 0.5572 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1465, allocations: 1.101 MB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1467, allocations: 3.938 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1472, allocations: 315.3 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005961/0.1478, allocations: 259.2 kB / 0.5589 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1482, allocations: 99.69 kB / 0.559 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.1486, allocations: 267.2 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.1487, allocations: 13.69 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.1489, allocations: 139.5 kB / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.1492, allocations: 219.5 kB / 0.5596 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1493, allocations: 8 kB / 0.5596 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1494, allocations: 47.97 kB / 0.5596 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1495, allocations: 127.6 kB / 0.5597 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1497, allocations: 150.8 kB / 0.5599 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.1501, allocations: 394.1 kB / 0.5603 GB, free: 0.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1501, allocations: 0 / 0.5603 GB, free: 0.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1501, allocations: 0 / 0.5603 GB, free: 0.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1502, allocations: 0 / 0.5603 GB, free: 0.832 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.001024/0.1512, allocations: 0.7616 MB / 0.561 GB, free: 20 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1512, allocations: 8.031 kB / 0.561 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/0.1513, allocations: 38.72 kB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.1514, allocations: 52.61 kB / 0.5611 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.152, allocations: 464.3 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1521, allocations: 4.375 kB / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1521, allocations: 7.938 kB / 0.5616 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1523, allocations: 83.36 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1523, allocations: 0 / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1523, allocations: 4 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1523, allocations: 0 / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1524, allocations: 35.91 kB / 0.5617 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1529, allocations: 382.3 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1532, allocations: 97.17 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1533, allocations: 45.64 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1533, allocations: 7.969 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.1535, allocations: 105.1 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1535, allocations: 3.938 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005248/0.1541, allocations: 201.2 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1541, allocations: 77.11 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.1554, allocations: 1.054 MB / 0.5636 GB, free: 13.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1554, allocations: 25.7 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.1556, allocations: 244 kB / 0.5638 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.1556, allocations: 31.73 kB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1557, allocations: 29.72 kB / 0.5639 GB, free: 12.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.1559, allocations: 362.8 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.156, allocations: 35.97 kB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1561, allocations: 55.42 kB / 0.5643 GB, free: 12.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1563, allocations: 91.86 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1563, allocations: 7.875 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003202/0.1566, allocations: 173.2 kB / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1566, allocations: 9.719 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1566, allocations: 0 / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1567, allocations: 0 / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1568, allocations: 31.92 kB / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1568, allocations: 0 / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.1569, allocations: 7.938 kB / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1569, allocations: 7.984 kB / 0.5646 GB, free: 12.04 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.0002324/0.1571, allocations: 228 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.1572, allocations: 55.62 kB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.094e-05/0.1573, allocations: 64.12 kB / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1573, allocations: 0 / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1573, allocations: 0 / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1573, allocations: 4 kB / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.1577, allocations: 349.4 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1577, allocations: 0 / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.1577, allocations: 15.92 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1577, allocations: 4 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1577, allocations: 3.984 kB / 0.5653 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1577, allocations: 4 kB / 0.5653 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1577, allocations: 128 / 0.5653 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.1581, allocations: 209.5 kB / 0.5655 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1583, allocations: 140.8 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1583, allocations: 4.094 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.1584, allocations: 15.92 kB / 0.5657 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.1584, allocations: 11.98 kB / 0.5657 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1584, allocations: 4 kB / 0.5657 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008732/0.1593, allocations: 0.78 MB / 0.5665 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1593, allocations: 0 / 0.5665 GB, free: 10.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1596, allocations: 43.94 kB / 0.5665 GB, free: 10.03 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.002157/0.1618, allocations: 1.053 MB / 0.5675 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.162, allocations: 71.91 kB / 0.5676 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.162, allocations: 3.938 kB / 0.5676 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1622, allocations: 39.97 kB / 0.5676 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1626, allocations: 66.34 kB / 0.5677 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.1683, allocations: 4.57 MB / 0.5722 GB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.1688, allocations: 0.8505 MB / 0.573 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1689, allocations: 58.94 kB / 0.5731 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.1691, allocations: 151.4 kB / 0.5732 GB, free: 3.172 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1691, allocations: 0 / 0.5732 GB, free: 3.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.204, allocations: 9.168 MB / 0.5822 GB, free: 10.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.922/9.126, allocations: 8 kB / 0.5822 GB, free: 10.07 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.589271292090416]