Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.92 MB / 349.6 MB, free: 1.836 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 73.77 kB / 491.9 MB, free: 30.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1261, allocations: 64.27 MB / 0.5431 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003366/0.1295, allocations: 1.703 MB / 0.5448 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1311, allocations: 0.8924 MB / 0.5456 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.1312, allocations: 4 kB / 0.5456 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1315, allocations: 35.77 kB / 0.5457 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.1317, allocations: 51.75 kB / 0.5457 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.132, allocations: 107.6 kB / 0.5458 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1322, allocations: 103.7 kB / 0.5459 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.1323, allocations: 4.516 kB / 0.5459 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1324, allocations: 39.8 kB / 0.546 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.1325, allocations: 31.83 kB / 0.546 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1325, allocations: 8 kB / 0.546 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.1326, allocations: 43.98 kB / 0.546 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.1327, allocations: 23.92 kB / 0.5461 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.1327, allocations: 31.69 kB / 0.5461 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1329, allocations: 115.5 kB / 0.5462 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1329, allocations: 0 / 0.5462 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1329, allocations: 0 / 0.5462 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1329, allocations: 0 / 0.5462 GB, free: 0.9492 MB / 398.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.000627/0.1336, allocations: 402.8 kB / 0.5466 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1336, allocations: 16.02 kB / 0.5466 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.1336, allocations: 38.75 kB / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1337, allocations: 12.84 kB / 0.5467 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.134, allocations: 216.1 kB / 0.5469 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.134, allocations: 384 / 0.5469 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.134, allocations: 11.94 kB / 0.5469 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1342, allocations: 49.67 kB / 0.5469 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1342, allocations: 0 / 0.5469 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1342, allocations: 4 kB / 0.5469 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1342, allocations: 0 / 0.5469 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.1343, allocations: 27.98 kB / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1347, allocations: 280.9 kB / 0.5472 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1349, allocations: 50.62 kB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.1349, allocations: 20.84 kB / 0.5473 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1349, allocations: 11.94 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.1351, allocations: 63.39 kB / 0.5474 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1351, allocations: 0 / 0.5474 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005142/0.1356, allocations: 173.4 kB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1357, allocations: 55.34 kB / 0.5476 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1358, allocations: 182.5 kB / 0.5477 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1359, allocations: 25.7 kB / 0.5478 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.1359, allocations: 104.1 kB / 0.5479 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.136, allocations: 35.67 kB / 0.5479 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.136, allocations: 21.72 kB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1362, allocations: 322.8 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.1362, allocations: 19.98 kB / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.1363, allocations: 37.7 kB / 0.5483 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1364, allocations: 53.72 kB / 0.5483 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1364, allocations: 0 / 0.5483 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.1366, allocations: 105.6 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1366, allocations: 5.875 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1366, allocations: 0 / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1366, allocations: 0 / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.1367, allocations: 19.98 kB / 0.5485 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1367, allocations: 3.938 kB / 0.5485 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.1368, allocations: 3.938 kB / 0.5485 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1368, allocations: 12.03 kB / 0.5485 GB, free: 14.37 MB / 414.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.0001165/0.1369, allocations: 117.8 kB / 0.5486 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1369, allocations: 15.89 kB / 0.5486 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.137, allocations: 16.88 kB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.137, allocations: 0 / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.137, allocations: 0 / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.137, allocations: 3.938 kB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1374, allocations: 395.3 kB / 0.549 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1374, allocations: 384 / 0.549 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.1375, allocations: 11.98 kB / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1375, allocations: 7.938 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1375, allocations: 4 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1375, allocations: 0 / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1375, allocations: 3.938 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1377, allocations: 208.3 kB / 0.5492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1378, allocations: 89.02 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.1378, allocations: 11.92 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.1379, allocations: 0 / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.1379, allocations: 8.188 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1379, allocations: 11.97 kB / 0.5494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1381, allocations: 131.2 kB / 0.5495 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0 / 0.5495 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1383, allocations: 23.94 kB / 0.5495 GB, free: 13.22 MB / 414.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.002077/0.1404, allocations: 1.096 MB / 0.5506 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1406, allocations: 51.92 kB / 0.5506 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1406, allocations: 0 / 0.5506 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.1407, allocations: 27.92 kB / 0.5506 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.141, allocations: 23.98 kB / 0.5507 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1429, allocations: 1.62 MB / 0.5522 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1433, allocations: 0.7002 MB / 0.5529 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.1433, allocations: 12.88 kB / 0.5529 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.1434, allocations: 35.42 kB / 0.553 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1434, allocations: 0 / 0.553 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.1676, allocations: 3.337 MB / 0.5562 GB, free: 6.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.09, allocations: 12.05 kB / 0.5562 GB, free: 6.387 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.063254422042519]