Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001379/0.001379, allocations: 113 kB / 18.49 MB, free: 4.539 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.001496/0.001496, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.469/1.469, allocations: 230.6 MB / 254.8 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.2383/0.2383, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.91 kB / 0.4917 GB, free: 7.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1335, allocations: 65.99 MB / 0.5562 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003505/0.137, allocations: 1.929 MB / 0.558 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1391, allocations: 1.134 MB / 0.5591 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1392, allocations: 7.938 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1397, allocations: 227.4 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.1402, allocations: 219.2 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1405, allocations: 111.6 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.1409, allocations: 259.3 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.141, allocations: 21.66 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1412, allocations: 123.6 kB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1414, allocations: 179.4 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1414, allocations: 8 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1416, allocations: 63.97 kB / 0.5603 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.1417, allocations: 59.7 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.1418, allocations: 95.28 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.1421, allocations: 242.9 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1421, allocations: 0 / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1421, allocations: 0 / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1421, allocations: 0 / 0.5607 GB, free: 1.047 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008851/0.143, allocations: 0.5755 MB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1431, allocations: 16.02 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.348e-05/0.1431, allocations: 192 / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.1431, allocations: 38.75 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1432, allocations: 28.75 kB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1436, allocations: 296.2 kB / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.1437, allocations: 8.328 kB / 0.5616 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1437, allocations: 11.94 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.144, allocations: 111.3 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.144, allocations: 0 / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.144, allocations: 11.97 kB / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.144, allocations: 0 / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1442, allocations: 47.91 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.1448, allocations: 480.8 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1452, allocations: 117.2 kB / 0.5624 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1453, allocations: 41.77 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1454, allocations: 7.984 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1456, allocations: 117 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1456, allocations: 0 / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001438/0.1471, allocations: 0.501 MB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.1471, allocations: 85.09 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.1476, allocations: 448.5 kB / 0.5635 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.1477, allocations: 33.7 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1478, allocations: 160.5 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.1479, allocations: 71.41 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.1479, allocations: 49.64 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1481, allocations: 342.8 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1483, allocations: 59.97 kB / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1484, allocations: 101.5 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1487, allocations: 159.5 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1487, allocations: 0 / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004333/0.1492, allocations: 233.3 kB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1492, allocations: 7.984 kB / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1492, allocations: 4 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1492, allocations: 0 / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1494, allocations: 43.92 kB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1494, allocations: 0 / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.1495, allocations: 11.95 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1495, allocations: 15.98 kB / 0.5648 GB, free: 12.57 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001972/0.1497, allocations: 169.8 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.1497, allocations: 35.75 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.1498, allocations: 38.81 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1498, allocations: 4 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1498, allocations: 0 / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1498, allocations: 0 / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1509, allocations: 0.7427 MB / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1509, allocations: 0 / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.151, allocations: 31.98 kB / 0.5658 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.151, allocations: 4 kB / 0.5658 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.151, allocations: 7.984 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.151, allocations: 4 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.151, allocations: 7.875 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.1516, allocations: 419.4 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.1516, allocations: 108.9 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.1517, allocations: 8 kB / 0.5663 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1518, allocations: 12 kB / 0.5663 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1519, allocations: 27.84 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.1519, allocations: 8 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.1523, allocations: 335 kB / 0.5667 GB, free: 10.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1523, allocations: 0 / 0.5667 GB, free: 10.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.1526, allocations: 51.92 kB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002727/0.1553, allocations: 1.367 MB / 0.568 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.1558, allocations: 151.8 kB / 0.5682 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1558, allocations: 0 / 0.5682 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1559, allocations: 76.03 kB / 0.5683 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.1565, allocations: 76.86 kB / 0.5683 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.1601, allocations: 2.884 MB / 0.5711 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1606, allocations: 0.7792 MB / 0.5719 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1607, allocations: 41.92 kB / 0.5719 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.1609, allocations: 103.4 kB / 0.572 GB, free: 5.02 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1609, allocations: 0 / 0.572 GB, free: 5.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.1855, allocations: 6.505 MB / 0.5784 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/8.984, allocations: 15.94 kB / 0.5784 GB, free: 14.57 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.218200229981449]