Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001765/0.001765, allocations: 116.7 kB / 18.5 MB, free: 4.582 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.001909/0.001909, allocations: 189.2 kB / 21.44 MB, free: 1.645 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.483/1.483, allocations: 225.6 MB / 249.8 MB, free: 3.73 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.2205/0.2205, allocations: 44.91 MB / 349.6 MB, free: 1.738 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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 74.84 kB / 491.9 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 64.26 MB / 0.5431 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.0032/0.1202, allocations: 1.713 MB / 0.5448 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.1224, allocations: 1.499 MB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1225, allocations: 4 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1228, allocations: 35.77 kB / 0.5463 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.123, allocations: 63.69 kB / 0.5463 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1233, allocations: 115.5 kB / 0.5464 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1235, allocations: 99.75 kB / 0.5465 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.1236, allocations: 8.453 kB / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.1237, allocations: 43.83 kB / 0.5466 GB, free: 436 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1238, allocations: 47.77 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1238, allocations: 4 kB / 0.5466 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.124, allocations: 63.97 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.124, allocations: 19.94 kB / 0.5467 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.1241, allocations: 39.72 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1243, allocations: 127.5 kB / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1243, allocations: 0 / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1243, allocations: 0 / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1243, allocations: 0 / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005964/0.1249, allocations: 422.7 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.125, allocations: 8.031 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.125, allocations: 38.73 kB / 0.5473 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1251, allocations: 20.89 kB / 0.5473 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1254, allocations: 212.5 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1254, allocations: 7.938 kB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1254, allocations: 4 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1256, allocations: 75.38 kB / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1256, allocations: 0 / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1256, allocations: 0 / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1256, allocations: 0 / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.1257, allocations: 27.98 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1261, allocations: 296.8 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1263, allocations: 66.61 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.1263, allocations: 28.84 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1263, allocations: 4 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1265, allocations: 71.45 kB / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1265, allocations: 0 / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005732/0.1271, allocations: 201.3 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.1272, allocations: 85.03 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1273, allocations: 157.7 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1273, allocations: 33.62 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1274, allocations: 100.1 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1274, allocations: 27.78 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1275, allocations: 21.72 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1276, allocations: 322.8 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-05/0.1277, allocations: 23.98 kB / 0.549 GB, free: 13.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.1278, allocations: 50.5 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1279, allocations: 77.67 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1279, allocations: 0 / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.1281, allocations: 113.5 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1282, allocations: 8 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.1282, allocations: 3.938 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1282, allocations: 0 / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.1283, allocations: 16 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1283, allocations: 3.984 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1283, allocations: 12.03 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1283, allocations: 0 / 0.5493 GB, free: 13.38 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 (11): * Single equations (assignments): 11 * 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.0001031/0.1284, allocations: 121.8 kB / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1285, allocations: 7.953 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.1285, allocations: 24.64 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1285, allocations: 0 / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1285, allocations: 0 / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1285, allocations: 3.984 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.129, allocations: 423.2 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.129, allocations: 3.984 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.1291, allocations: 8 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1291, allocations: 96 / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1291, allocations: 7.938 kB / 0.5499 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.1291, allocations: 4 kB / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1291, allocations: 0 / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1294, allocations: 224.2 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.1294, allocations: 85.06 kB / 0.5502 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1294, allocations: 0 / 0.5502 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.1295, allocations: 4 kB / 0.5502 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1296, allocations: 11.98 kB / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1296, allocations: 4 kB / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1297, allocations: 118.2 kB / 0.5503 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 0.5503 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.13, allocations: 43.86 kB / 0.5503 GB, free: 12.2 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 (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.002261/0.1322, allocations: 1.157 MB / 0.5515 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1324, allocations: 63.91 kB / 0.5515 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1324, allocations: 4.062 kB / 0.5515 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.1325, allocations: 24 kB / 0.5516 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1329, allocations: 35.91 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.1349, allocations: 1.613 MB / 0.5532 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1352, allocations: 0.704 MB / 0.5539 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.1353, allocations: 24.94 kB / 0.5539 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.1354, allocations: 39.3 kB / 0.5539 GB, free: 8.605 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1354, allocations: 0 / 0.5539 GB, free: 8.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.1633, allocations: 3.735 MB / 0.5576 GB, free: 4.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.266, allocations: 7.016 kB / 0.5576 GB, free: 4.855 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.322304659057409]