Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001311/0.001311, 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.00126/0.00126, 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.477/1.477, allocations: 225.6 MB / 249.8 MB, free: 3.605 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.2558/0.2558, allocations: 44.92 MB / 349.6 MB, free: 1.715 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 60.84 kB / 491.9 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1175, allocations: 64.27 MB / 0.5431 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003198/0.1207, allocations: 1.707 MB / 0.5448 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1221, allocations: 0.8924 MB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.1222, allocations: 0 / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1225, allocations: 87.69 kB / 0.5457 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1227, allocations: 71.73 kB / 0.5458 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.123, allocations: 115.6 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1232, allocations: 107.7 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.1233, allocations: 8.516 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.1234, allocations: 59.75 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1235, allocations: 55.81 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1235, allocations: 4 kB / 0.5461 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.1236, allocations: 39.98 kB / 0.5462 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.1236, allocations: 27.8 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.1237, allocations: 43.66 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1239, allocations: 123.5 kB / 0.5463 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1239, allocations: 0 / 0.5463 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1239, allocations: 0 / 0.5463 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1239, allocations: 4 kB / 0.5463 GB, free: 0.668 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.0005815/0.1245, allocations: 418.7 kB / 0.5467 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1245, allocations: 12.03 kB / 0.5468 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.1245, allocations: 30.75 kB / 0.5468 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1246, allocations: 12.84 kB / 0.5468 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1249, allocations: 216.1 kB / 0.547 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1249, allocations: 8.375 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.125, allocations: 7.891 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1251, allocations: 53.67 kB / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1251, allocations: 0 / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1251, allocations: 4 kB / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1251, allocations: 0 / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.1252, allocations: 15.98 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1256, allocations: 284.9 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1257, allocations: 62.55 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.1258, allocations: 20.91 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1258, allocations: 7.984 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1259, allocations: 63.39 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1259, allocations: 4 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005269/0.1265, allocations: 181.5 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1265, allocations: 55.41 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1267, allocations: 208.3 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1268, allocations: 29.7 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.1268, allocations: 108.1 kB / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1269, allocations: 27.72 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.1269, allocations: 21.72 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1271, allocations: 326.8 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.1271, allocations: 24.17 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.1272, allocations: 41.7 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1273, allocations: 49.72 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1273, allocations: 0 / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.1275, allocations: 117.7 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1275, allocations: 4 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1275, allocations: 3.938 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1276, allocations: 0 / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1276, allocations: 19.98 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1276, allocations: 3.938 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1277, allocations: 3.938 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1277, allocations: 8 kB / 0.5487 GB, free: 14.02 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.000124/0.1278, allocations: 125.8 kB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1279, allocations: 19.88 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.1279, allocations: 17.41 kB / 0.5488 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1279, allocations: 0 / 0.5488 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1279, allocations: 0 / 0.5488 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1279, allocations: 7.922 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.1284, allocations: 391.3 kB / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1284, allocations: 0 / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.1284, allocations: 12 kB / 0.5492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.1285, allocations: 11.97 kB / 0.5493 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1285, allocations: 0 / 0.5493 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1285, allocations: 3.984 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1285, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1287, allocations: 212.5 kB / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.1288, allocations: 81.06 kB / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1288, allocations: 7.938 kB / 0.5495 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1289, allocations: 4 kB / 0.5495 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1289, allocations: 7.984 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1289, allocations: 8 kB / 0.5496 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1291, allocations: 159.5 kB / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1291, allocations: 0 / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1293, allocations: 23.98 kB / 0.5497 GB, free: 12.83 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.002153/0.1315, allocations: 1.103 MB / 0.5508 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1317, allocations: 63.89 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1317, allocations: 0 / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.1317, allocations: 24 kB / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1321, allocations: 27.62 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1341, allocations: 1.69 MB / 0.5526 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1345, allocations: 0.7002 MB / 0.5533 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.1346, allocations: 24.78 kB / 0.5533 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.1346, allocations: 35.42 kB / 0.5533 GB, free: 9.227 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1346, allocations: 3.938 kB / 0.5533 GB, free: 9.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.1612, allocations: 3.504 MB / 0.5567 GB, free: 5.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.93, allocations: 9.219 kB / 0.5568 GB, free: 5.742 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.081279427278787]