Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001586/0.001586, 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.001698/0.001698, 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.489/1.489, 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.2501/0.2501, allocations: 46.93 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.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.89 kB / 0.491 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1268, allocations: 65.98 MB / 0.5555 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003526/0.1303, allocations: 1.933 MB / 0.5574 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1324, allocations: 1.134 MB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1325, allocations: 7.938 kB / 0.5585 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.1331, allocations: 255.3 kB / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.1336, allocations: 235.2 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1339, allocations: 111.6 kB / 0.5591 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.1343, allocations: 275.2 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1344, allocations: 21.66 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1347, allocations: 143.5 kB / 0.5595 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.1349, allocations: 207.4 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.135, allocations: 12 kB / 0.5597 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1351, allocations: 59.98 kB / 0.5597 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1352, allocations: 71.69 kB / 0.5598 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1353, allocations: 91.23 kB / 0.5599 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.1357, allocations: 258.7 kB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1357, allocations: 0 / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1357, allocations: 0 / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1357, allocations: 0 / 0.5601 GB, free: 0.9453 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.0009669/0.1367, allocations: 0.5949 MB / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1367, allocations: 16.02 kB / 0.5607 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.1368, allocations: 38.75 kB / 0.5608 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.1369, allocations: 28.75 kB / 0.5608 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.1373, allocations: 302.6 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1373, allocations: 4.375 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.1374, allocations: 15.92 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1376, allocations: 103.4 kB / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1376, allocations: 0 / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1376, allocations: 7.984 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1376, allocations: 4 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1378, allocations: 47.91 kB / 0.5613 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.1384, allocations: 480.7 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.1388, allocations: 125.2 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1389, allocations: 37.83 kB / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1389, allocations: 0 / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.1392, allocations: 136.9 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1392, allocations: 0 / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001522/0.1407, allocations: 0.5132 MB / 0.5625 GB, free: 14.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.1408, allocations: 81.05 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.1414, allocations: 0.4899 MB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.1414, allocations: 33.7 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1416, allocations: 172.4 kB / 0.5633 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.1416, allocations: 71.42 kB / 0.5633 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.1417, allocations: 45.7 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1419, allocations: 346.8 kB / 0.5637 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.142, allocations: 63.86 kB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.1422, allocations: 93.52 kB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.1425, allocations: 155.4 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1425, allocations: 0 / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004474/0.1429, allocations: 245.4 kB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1429, allocations: 4 kB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.143, allocations: 4.062 kB / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.143, allocations: 4 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1431, allocations: 47.92 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1431, allocations: 0 / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.1432, allocations: 11.98 kB / 0.5643 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1433, allocations: 8 kB / 0.5643 GB, free: 12.37 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.0001819/0.1434, allocations: 173.8 kB / 0.5645 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.1435, allocations: 39.7 kB / 0.5645 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.1436, allocations: 42.88 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1436, allocations: 8 kB / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1436, allocations: 0 / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.1436, allocations: 3.984 kB / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1447, allocations: 0.7428 MB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1447, allocations: 4.125 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.1447, allocations: 31.92 kB / 0.5653 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1448, allocations: 0 / 0.5653 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.1448, allocations: 15.98 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1448, allocations: 4.125 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.1448, allocations: 8.172 kB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.1453, allocations: 421.9 kB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.1454, allocations: 112.9 kB / 0.5659 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.1454, allocations: 8 kB / 0.5659 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1456, allocations: 8 kB / 0.5659 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.1457, allocations: 23.84 kB / 0.5659 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1457, allocations: 16 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003979/0.1461, allocations: 371.1 kB / 0.5663 GB, free: 10.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1461, allocations: 0 / 0.5663 GB, free: 10.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.1464, allocations: 51.92 kB / 0.5663 GB, free: 10.19 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.002797/0.1492, allocations: 1.366 MB / 0.5677 GB, free: 8.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1496, allocations: 147.8 kB / 0.5678 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1496, allocations: 4.125 kB / 0.5678 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1498, allocations: 75.84 kB / 0.5679 GB, free: 8.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.1504, allocations: 62.64 kB / 0.5679 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.1543, allocations: 3.005 MB / 0.5709 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.1548, allocations: 0.7869 MB / 0.5716 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1549, allocations: 41.92 kB / 0.5717 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1551, allocations: 107.4 kB / 0.5718 GB, free: 4.633 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1551, allocations: 4 kB / 0.5718 GB, free: 4.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.1864, allocations: 6.703 MB / 0.5783 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/8.763, allocations: 7.938 kB / 0.5783 GB, free: 13.98 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.896894625155255]