Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001258/0.001258, 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.001536/0.001536, 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.48/1.48, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2168/0.2168, allocations: 44.93 MB / 349.6 MB, free: 1.723 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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 70.7 kB / 491.9 MB, free: 29.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 64.26 MB / 0.5431 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00323/0.119, allocations: 1.707 MB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1205, allocations: 0.8924 MB / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.1206, allocations: 3.938 kB / 0.5456 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.1209, allocations: 47.75 kB / 0.5457 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.1211, allocations: 67.69 kB / 0.5457 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1214, allocations: 99.67 kB / 0.5458 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1216, allocations: 95.7 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.1217, allocations: 20.48 kB / 0.546 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.1218, allocations: 39.8 kB / 0.546 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.1219, allocations: 35.78 kB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1219, allocations: 4 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.122, allocations: 43.97 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.122, allocations: 31.86 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.1221, allocations: 39.69 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1223, allocations: 131.4 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1223, allocations: 0 / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1223, allocations: 0 / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1223, allocations: 3.938 kB / 0.5463 GB, free: 0.7383 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.000565/0.1229, allocations: 450.5 kB / 0.5467 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1229, allocations: 12.03 kB / 0.5467 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1229, allocations: 34.73 kB / 0.5467 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.123, allocations: 16.84 kB / 0.5468 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1233, allocations: 212.8 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1233, allocations: 384 / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1233, allocations: 7.938 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1235, allocations: 61.61 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1235, allocations: 0 / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1235, allocations: 0 / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1235, allocations: 7.938 kB / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.1236, allocations: 15.98 kB / 0.547 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.124, allocations: 296.9 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1241, allocations: 62.61 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1242, allocations: 20.84 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1242, allocations: 0 / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1243, allocations: 67.39 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1244, allocations: 0 / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006213/0.125, allocations: 185.2 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.125, allocations: 59.41 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.1253, allocations: 262.5 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1254, allocations: 25.7 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1254, allocations: 112.1 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1255, allocations: 27.75 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1255, allocations: 29.7 kB / 0.5481 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1257, allocations: 322.8 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.1257, allocations: 23.98 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1258, allocations: 45.58 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1259, allocations: 57.78 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1259, allocations: 0 / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002273/0.1261, allocations: 109.5 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1261, allocations: 8 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1261, allocations: 0 / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1262, allocations: 0 / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.1262, allocations: 16.03 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.1263, allocations: 7.984 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1263, allocations: 7.938 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1263, allocations: 4 kB / 0.5487 GB, free: 13.97 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.0001257/0.1264, allocations: 141.8 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1265, allocations: 11.91 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.1265, allocations: 21.39 kB / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1265, allocations: 0 / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1265, allocations: 8 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1265, allocations: 3.938 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.127, allocations: 395.3 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.127, allocations: 3.938 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1271, allocations: 15.98 kB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1271, allocations: 3.938 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1271, allocations: 384 / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1271, allocations: 4 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1271, allocations: 4 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1273, allocations: 200.3 kB / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.1274, allocations: 97 kB / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1274, allocations: 11.88 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.1275, allocations: 0 / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1275, allocations: 7.984 kB / 0.5496 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1275, allocations: 8 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.1277, allocations: 204 kB / 0.5498 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1277, allocations: 0 / 0.5498 GB, free: 12.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.128, allocations: 20 kB / 0.5498 GB, free: 12.72 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.002123/0.1301, allocations: 1.105 MB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1303, allocations: 55.95 kB / 0.551 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1303, allocations: 4 kB / 0.551 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.1304, allocations: 27.98 kB / 0.551 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1308, allocations: 34.78 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.133, allocations: 1.796 MB / 0.5528 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1333, allocations: 0.7234 MB / 0.5535 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.1334, allocations: 12.88 kB / 0.5535 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.1335, allocations: 39.42 kB / 0.5535 GB, free: 8.973 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1335, allocations: 0 / 0.5535 GB, free: 8.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1592, allocations: 3.733 MB / 0.5572 GB, free: 5.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.216, allocations: 18.41 kB / 0.5572 GB, free: 5.262 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.241191841196269]