Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001538/0.001538, allocations: 116.8 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.00174/0.00174, allocations: 189.2 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.514/1.514, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.2248/0.2248, allocations: 44.92 MB / 349.6 MB, free: 1.719 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 74.86 kB / 491.9 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1376, allocations: 64.25 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003727/0.1413, allocations: 1.715 MB / 0.5448 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.143, allocations: 0.8884 MB / 0.5456 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.1431, allocations: 4 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1434, allocations: 27.84 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1437, allocations: 63.7 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.144, allocations: 111.6 kB / 0.5458 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1442, allocations: 95.69 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1443, allocations: 8.516 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1444, allocations: 43.78 kB / 0.546 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.1445, allocations: 31.84 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1445, allocations: 4 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1446, allocations: 39.98 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1447, allocations: 27.91 kB / 0.5461 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.1448, allocations: 35.75 kB / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.145, allocations: 115.4 kB / 0.5462 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.145, allocations: 3.938 kB / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.145, allocations: 0 / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.145, allocations: 0 / 0.5462 GB, free: 0.8125 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.0007132/0.1457, allocations: 422.7 kB / 0.5466 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1458, allocations: 8.031 kB / 0.5466 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.1458, allocations: 30.75 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1459, allocations: 8.891 kB / 0.5467 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.1462, allocations: 212.2 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1463, allocations: 4.375 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1463, allocations: 3.938 kB / 0.5469 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1465, allocations: 57.61 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1465, allocations: 0 / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1465, allocations: 4 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1465, allocations: 4 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.1466, allocations: 15.98 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.147, allocations: 300.8 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1472, allocations: 54.61 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1473, allocations: 16.86 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1473, allocations: 0 / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1475, allocations: 75.38 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1475, allocations: 0 / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.1481, allocations: 169.3 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1481, allocations: 51.41 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1483, allocations: 194.1 kB / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1484, allocations: 29.7 kB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.1484, allocations: 100.1 kB / 0.5479 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1485, allocations: 23.8 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.1485, allocations: 29.7 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1487, allocations: 322.8 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.1488, allocations: 19.98 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.1488, allocations: 37.66 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1489, allocations: 57.69 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.149, allocations: 0 / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.1492, allocations: 113.5 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1492, allocations: 4 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1492, allocations: 0 / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1492, allocations: 192 / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.1493, allocations: 19.94 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1493, allocations: 3.938 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.1494, allocations: 7.922 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1494, allocations: 8 kB / 0.5485 GB, free: 14.2 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.0001249/0.1495, allocations: 125.8 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1495, allocations: 15.91 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.1496, allocations: 16.7 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1496, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1496, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1496, allocations: 7.922 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.1501, allocations: 391.3 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1501, allocations: 384 / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.1501, allocations: 16.02 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1501, allocations: 7.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1501, allocations: 4 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1501, allocations: 0 / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1501, allocations: 0 / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1504, allocations: 204.5 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.1505, allocations: 89.02 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.1505, allocations: 15.92 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1506, allocations: 4 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1506, allocations: 4 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1506, allocations: 0 / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1508, allocations: 148 kB / 0.5495 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1508, allocations: 0 / 0.5495 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.151, allocations: 20 kB / 0.5495 GB, free: 13.05 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.002278/0.1533, allocations: 1.107 MB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1535, allocations: 55.97 kB / 0.5507 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1535, allocations: 0 / 0.5507 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1536, allocations: 23.94 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.154, allocations: 30 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1562, allocations: 1.627 MB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.1567, allocations: 0.708 MB / 0.553 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.1567, allocations: 17.17 kB / 0.553 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1568, allocations: 31.42 kB / 0.5531 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1568, allocations: 0 / 0.5531 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.1838, allocations: 3.398 MB / 0.5564 GB, free: 6.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.088, allocations: 15.86 kB / 0.5564 GB, free: 6.129 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.206105740275234]