Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001306/0.001306, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001418/0.001418, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.558/1.558, 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.227/0.227, 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.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 75.89 kB / 0.491 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1382, allocations: 65.98 MB / 0.5555 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003598/0.1418, allocations: 1.745 MB / 0.5572 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1437, allocations: 1.034 MB / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.1438, allocations: 0 / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1442, allocations: 55.75 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1445, allocations: 107.5 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1447, allocations: 75.67 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1449, allocations: 103.7 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.145, allocations: 15.97 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1452, allocations: 43.8 kB / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.1452, allocations: 31.78 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1453, allocations: 4 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1454, allocations: 47.97 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.1454, allocations: 31.86 kB / 0.5587 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.1455, allocations: 35.69 kB / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1457, allocations: 143.4 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1457, allocations: 0 / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1457, allocations: 0 / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1457, allocations: 0 / 0.5588 GB, free: 2.312 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006809/0.1464, allocations: 462.3 kB / 0.5593 GB, free: 1.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1465, allocations: 8.031 kB / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.1465, allocations: 34.75 kB / 0.5593 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1466, allocations: 12.84 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.147, allocations: 221.1 kB / 0.5595 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.147, allocations: 8.375 kB / 0.5595 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.147, allocations: 3.938 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1471, allocations: 53.67 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1472, allocations: 3.938 kB / 0.5596 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1472, allocations: 0 / 0.5596 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1472, allocations: 4 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.1473, allocations: 19.92 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.1477, allocations: 308.8 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1479, allocations: 54.67 kB / 0.56 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.148, allocations: 20.8 kB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.148, allocations: 4 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1482, allocations: 71.38 kB / 0.5601 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1482, allocations: 4 kB / 0.5601 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.1488, allocations: 177.3 kB / 0.5602 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1488, allocations: 51.41 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1491, allocations: 282.7 kB / 0.5606 GB, free: 344 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1491, allocations: 29.7 kB / 0.5606 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.1492, allocations: 112.1 kB / 0.5607 GB, free: 192 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1493, allocations: 23.8 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1493, allocations: 29.64 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1495, allocations: 330.8 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.1495, allocations: 15.98 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.1496, allocations: 37.7 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1497, allocations: 61.64 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1497, allocations: 0 / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.1499, allocations: 113.5 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.15, allocations: 5.875 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.15, allocations: 4 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.15, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1501, allocations: 19.98 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1501, allocations: 160 / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.1501, allocations: 7.938 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1501, allocations: 7.984 kB / 0.5613 GB, free: 15.51 MB / 430.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.0001302/0.1503, allocations: 136 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1503, allocations: 15.94 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.1504, allocations: 29.31 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1504, allocations: 4 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1504, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1504, allocations: 3.938 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.1509, allocations: 403.3 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1509, allocations: 0 / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.1509, allocations: 8 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1509, allocations: 8.156 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.151, allocations: 11.98 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.151, allocations: 4.312 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.151, allocations: 0 / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1512, allocations: 200.3 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.1513, allocations: 89.02 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1513, allocations: 11.94 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1514, allocations: 11.98 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1514, allocations: 3.938 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1514, allocations: 4 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.1517, allocations: 212.5 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1517, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1519, allocations: 23.94 kB / 0.5624 GB, free: 14.25 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: 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.002201/0.1541, allocations: 1.09 MB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1543, allocations: 55.92 kB / 0.5636 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1543, allocations: 0 / 0.5636 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.1544, allocations: 31.92 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1548, allocations: 27.52 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.1571, allocations: 1.851 MB / 0.5654 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1575, allocations: 0.7196 MB / 0.5661 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.1575, allocations: 16.81 kB / 0.5661 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.1576, allocations: 43.42 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1576, allocations: 0 / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.1837, allocations: 3.83 MB / 0.5699 GB, free: 6.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.398, allocations: 0.9375 kB / 0.5699 GB, free: 6.691 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.54346747789532]