Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001267/0.001267, allocations: 119 kB / 18.5 MB, free: 4.602 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.001366/0.001366, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.401/1.401, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.2492/0.2492, allocations: 44.91 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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 66.02 kB / 491.8 MB, free: 30.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 64.27 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00363/0.1187, allocations: 2.003 MB / 0.545 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1204, allocations: 0.9819 MB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1205, allocations: 4 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1208, allocations: 47.58 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1211, allocations: 79.55 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1215, allocations: 143.6 kB / 0.5463 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1218, allocations: 199.4 kB / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1219, allocations: 25.89 kB / 0.5465 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.122, allocations: 79.64 kB / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1221, allocations: 83.59 kB / 0.5466 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1222, allocations: 12 kB / 0.5466 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1223, allocations: 43.98 kB / 0.5467 GB, free: 340 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.1224, allocations: 39.83 kB / 0.5467 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.1224, allocations: 71.55 kB / 0.5468 GB, free: 228 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1228, allocations: 199.1 kB / 0.547 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1228, allocations: 4 kB / 0.547 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1228, allocations: 0 / 0.547 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1228, allocations: 0 / 0.547 GB, free: 24 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009652/0.1237, allocations: 0.5602 MB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1238, allocations: 8.031 kB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.1238, allocations: 42.73 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1239, allocations: 16.84 kB / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1243, allocations: 252.9 kB / 0.5478 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1243, allocations: 12.3 kB / 0.5478 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1243, allocations: 11.94 kB / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.1247, allocations: 152.1 kB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1247, allocations: 4 kB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1247, allocations: 0 / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1248, allocations: 4 kB / 0.548 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1252, allocations: 107.9 kB / 0.5481 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.1259, allocations: 0.5399 MB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.1265, allocations: 166.5 kB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1267, allocations: 64.8 kB / 0.5489 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1268, allocations: 11.97 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.1272, allocations: 131.2 kB / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1272, allocations: 4 kB / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008369/0.128, allocations: 261.2 kB / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.128, allocations: 55.41 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1283, allocations: 227.2 kB / 0.5495 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.1283, allocations: 29.7 kB / 0.5495 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1284, allocations: 124.3 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.1285, allocations: 35.88 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.1285, allocations: 37.7 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1287, allocations: 326.8 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.129, allocations: 67.94 kB / 0.5501 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.1292, allocations: 106.2 kB / 0.5502 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.1297, allocations: 197 kB / 0.5504 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1297, allocations: 0 / 0.5504 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000662/0.1304, allocations: 251.1 kB / 0.5506 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.1304, allocations: 37.69 kB / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1304, allocations: 0 / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.1305, allocations: 7.938 kB / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1306, allocations: 43.84 kB / 0.5507 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1306, allocations: 7.984 kB / 0.5507 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1308, allocations: 31.92 kB / 0.5508 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1308, allocations: 8 kB / 0.5508 GB, free: 11.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001417/0.131, allocations: 129.8 kB / 0.5509 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.131, allocations: 15.91 kB / 0.5509 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1311, allocations: 25.34 kB / 0.5509 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1311, allocations: 3.938 kB / 0.5509 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1311, allocations: 0 / 0.5509 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1311, allocations: 3.984 kB / 0.5509 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1314, allocations: 237.5 kB / 0.5512 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1314, allocations: 11.94 kB / 0.5512 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1315, allocations: 27.97 kB / 0.5512 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1315, allocations: 0 / 0.5512 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1316, allocations: 4 kB / 0.5512 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1316, allocations: 3.938 kB / 0.5512 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1316, allocations: 3.984 kB / 0.5512 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.1324, allocations: 297.2 kB / 0.5515 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1325, allocations: 96.98 kB / 0.5516 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1325, allocations: 11.94 kB / 0.5516 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1327, allocations: 19.91 kB / 0.5516 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.1328, allocations: 15.98 kB / 0.5516 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.1328, allocations: 12.06 kB / 0.5516 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1329, allocations: 160.7 kB / 0.5518 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1329, allocations: 0 / 0.5518 GB, free: 10.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1332, allocations: 43.92 kB / 0.5518 GB, free: 10.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002551/0.1358, allocations: 1.154 MB / 0.553 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.1364, allocations: 207.3 kB / 0.5532 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1364, allocations: 4 kB / 0.5532 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.1367, allocations: 71.88 kB / 0.5532 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.137, allocations: 39.91 kB / 0.5533 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.1405, allocations: 2.175 MB / 0.5554 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1408, allocations: 0.728 MB / 0.5561 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.34e-05/0.1409, allocations: 17.55 kB / 0.5561 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.141, allocations: 51.41 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.141, allocations: 0 / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.1704, allocations: 4.989 MB / 0.5611 GB, free: 1.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.277, allocations: 10.64 kB / 0.5611 GB, free: 1.223 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid1.T_start in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.T_start from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! Error: Could not read variable trapezoid1.count in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.count from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.27127443253994]