Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001729/0.001729, 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.001901/0.001901, 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.489/1.489, 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.2159/0.2159, allocations: 44.91 MB / 349.6 MB, free: 1.711 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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 73.7 kB / 491.9 MB, free: 29.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 64.26 MB / 0.5431 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003174/0.1192, allocations: 1.668 MB / 0.5447 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1207, allocations: 0.8729 MB / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.1208, allocations: 0 / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1211, allocations: 51.75 kB / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.1214, allocations: 63.75 kB / 0.5457 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1217, allocations: 103.6 kB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1219, allocations: 91.69 kB / 0.5459 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.1219, allocations: 7.984 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.122, allocations: 35.8 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.1221, allocations: 27.86 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1221, allocations: 4 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.1222, allocations: 31.97 kB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.1223, allocations: 31.86 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.1224, allocations: 39.67 kB / 0.546 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1226, allocations: 119.7 kB / 0.5461 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1226, allocations: 0 / 0.5461 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1226, allocations: 0 / 0.5461 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1226, allocations: 3.984 kB / 0.5461 GB, free: 0.8594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006799/0.1233, allocations: 434.6 kB / 0.5466 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1233, allocations: 8.031 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1234, allocations: 30.75 kB / 0.5466 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1234, allocations: 20.83 kB / 0.5466 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.1238, allocations: 228.6 kB / 0.5468 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1238, allocations: 384 / 0.5468 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1238, allocations: 7.938 kB / 0.5468 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1239, allocations: 45.67 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.124, allocations: 0 / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.124, allocations: 4.078 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.124, allocations: 4 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.1241, allocations: 15.97 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.1243, allocations: 189.7 kB / 0.5471 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1245, allocations: 58.48 kB / 0.5471 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1245, allocations: 20.8 kB / 0.5472 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1245, allocations: 0 / 0.5472 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.1247, allocations: 71.38 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1247, allocations: 0 / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002973/0.125, allocations: 105.7 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1251, allocations: 51.41 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1253, allocations: 258.5 kB / 0.5476 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1253, allocations: 25.7 kB / 0.5477 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1254, allocations: 112.1 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1254, allocations: 15.91 kB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1255, allocations: 17.72 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1256, allocations: 330.8 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.1257, allocations: 12 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.1257, allocations: 33.72 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.1258, allocations: 49.64 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1258, allocations: 3.938 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.126, allocations: 85.59 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.126, allocations: 4 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.126, allocations: 0 / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.126, allocations: 0 / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.1261, allocations: 15.94 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1261, allocations: 0 / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1262, allocations: 7.984 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1262, allocations: 0 / 0.5483 GB, free: 14.39 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 (7): * Single equations (assignments): 7 * 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.0001111/0.1263, allocations: 137.8 kB / 0.5484 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1263, allocations: 15.94 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.1263, allocations: 17 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1263, allocations: 3.984 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1263, allocations: 0 / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1263, allocations: 4 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1265, allocations: 201.4 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1265, allocations: 3.938 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.1265, allocations: 8 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1265, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1265, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1266, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1266, allocations: 7.938 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1267, allocations: 125 kB / 0.5488 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.1268, allocations: 89.02 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1268, allocations: 4 kB / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.1269, allocations: 3.984 kB / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1269, allocations: 4 kB / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1269, allocations: 0 / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.1271, allocations: 208 kB / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1271, allocations: 0 / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1273, allocations: 19.98 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001868/0.1292, allocations: 0.9567 MB / 0.5501 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1293, allocations: 39.98 kB / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1293, allocations: 0 / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.1294, allocations: 19.94 kB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1297, allocations: 26.16 kB / 0.5501 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1315, allocations: 1.649 MB / 0.5518 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1318, allocations: 0.7117 MB / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.1319, allocations: 16.53 kB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.1319, allocations: 39.42 kB / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1319, allocations: 0 / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1557, allocations: 3.43 MB / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.263, allocations: 4 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.301023076754063]