Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001817/0.001817, 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.002187/0.002187, 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.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2258/0.2258, allocations: 46.92 MB / 357.8 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.89 kB / 0.4917 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1271, allocations: 65.98 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003816/0.1309, allocations: 1.947 MB / 0.558 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1331, allocations: 1.068 MB / 0.5591 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1332, allocations: 0 / 0.5591 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.1336, allocations: 51.69 kB / 0.5591 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.134, allocations: 99.47 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1343, allocations: 95.64 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1346, allocations: 147.5 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1347, allocations: 25.55 kB / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1348, allocations: 63.64 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.135, allocations: 47.72 kB / 0.5596 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.135, allocations: 8 kB / 0.5596 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1351, allocations: 47.98 kB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.1352, allocations: 35.83 kB / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.1353, allocations: 43.69 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1356, allocations: 155.3 kB / 0.5599 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1356, allocations: 0 / 0.5599 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1356, allocations: 7.938 kB / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1356, allocations: 0 / 0.5599 GB, free: 1.941 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008556/0.1364, allocations: 496.1 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1365, allocations: 8.031 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.824e-05/0.1365, allocations: 4.188 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1365, allocations: 34.75 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.1366, allocations: 16.84 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.137, allocations: 236.8 kB / 0.5606 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.137, allocations: 16.12 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.137, allocations: 7.938 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.1373, allocations: 106.5 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1373, allocations: 3.938 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1373, allocations: 4 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1373, allocations: 0 / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1375, allocations: 55.95 kB / 0.5608 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.1382, allocations: 0.4971 MB / 0.5613 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.1385, allocations: 86.66 kB / 0.5614 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1386, allocations: 32.84 kB / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1387, allocations: 7.938 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1389, allocations: 83.36 kB / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1389, allocations: 0 / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004617/0.1393, allocations: 153.4 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1394, allocations: 51.41 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1396, allocations: 206.2 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1397, allocations: 25.7 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.1397, allocations: 116.1 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1398, allocations: 35.72 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1398, allocations: 25.72 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1401, allocations: 331.2 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1402, allocations: 31.98 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1403, allocations: 68.34 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.1405, allocations: 104.1 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1405, allocations: 0 / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003174/0.1408, allocations: 137.4 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1408, allocations: 5.875 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1409, allocations: 4 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1409, allocations: 4.062 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.141, allocations: 31.92 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.141, allocations: 0 / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.1411, allocations: 19.94 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1411, allocations: 4 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001426/0.1412, allocations: 128 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.1413, allocations: 19.91 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.1413, allocations: 21.33 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1413, allocations: 0 / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1413, allocations: 7.938 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1413, allocations: 0 / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1416, allocations: 209.6 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1416, allocations: 0 / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.1417, allocations: 15.92 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1417, allocations: 0 / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1417, allocations: 11.94 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1417, allocations: 0 / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1417, allocations: 0 / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.1421, allocations: 188.9 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.1422, allocations: 89.05 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1422, allocations: 3.938 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.1423, allocations: 8 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1423, allocations: 7.984 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1423, allocations: 4 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1425, allocations: 144.4 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1425, allocations: 4.062 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1427, allocations: 31.92 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00215/0.1449, allocations: 1.016 MB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.1452, allocations: 83.77 kB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1452, allocations: 0 / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1453, allocations: 35.92 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1456, allocations: 35.72 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.148, allocations: 1.76 MB / 0.5665 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1484, allocations: 0.7239 MB / 0.5672 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.253e-05/0.1485, allocations: 25.39 kB / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.1486, allocations: 43.42 kB / 0.5673 GB, free: 9.965 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1486, allocations: 0 / 0.5673 GB, free: 9.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.1718, allocations: 3.889 MB / 0.5711 GB, free: 6.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/8.718, allocations: 8.062 kB / 0.5711 GB, free: 6.156 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.921408005000558]