Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.00164/0.00164, 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.001737/0.001737, 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.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.2341/0.2341, allocations: 44.91 MB / 349.6 MB, free: 1.746 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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 66.47 kB / 491.9 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 64.26 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003446/0.1194, allocations: 1.722 MB / 0.5448 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1209, allocations: 0.8847 MB / 0.5456 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.121, allocations: 3.938 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1213, allocations: 59.69 kB / 0.5457 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1216, allocations: 59.75 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1218, allocations: 107.6 kB / 0.5459 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.122, allocations: 91.75 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.1221, allocations: 8.516 kB / 0.5459 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1222, allocations: 47.77 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.1223, allocations: 31.86 kB / 0.546 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1223, allocations: 4 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.375e-05/0.1224, allocations: 51.86 kB / 0.5461 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1225, allocations: 27.91 kB / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.1225, allocations: 43.67 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1227, allocations: 127.4 kB / 0.5463 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1227, allocations: 0 / 0.5463 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1227, allocations: 4 kB / 0.5463 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1228, allocations: 0 / 0.5463 GB, free: 0.7578 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.0005828/0.1233, allocations: 450.5 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1234, allocations: 8.031 kB / 0.5467 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.1234, allocations: 34.69 kB / 0.5467 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1235, allocations: 16.84 kB / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1238, allocations: 210.7 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1238, allocations: 14.38 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1238, allocations: 3.953 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.124, allocations: 53.67 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.124, allocations: 0 / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.124, allocations: 8 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.124, allocations: 0 / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1241, allocations: 19.92 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1245, allocations: 296.9 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1246, allocations: 46.69 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1247, allocations: 24.84 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1247, allocations: 4 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1249, allocations: 75.25 kB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1249, allocations: 0 / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.1254, allocations: 189.2 kB / 0.5477 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1255, allocations: 55.41 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1257, allocations: 258.5 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1257, allocations: 29.7 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.1258, allocations: 112.1 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1259, allocations: 27.78 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.1259, allocations: 25.72 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1261, allocations: 322.8 kB / 0.5485 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.1261, allocations: 23.98 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.1262, allocations: 37.64 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1263, allocations: 62.03 kB / 0.5486 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1263, allocations: 3.984 kB / 0.5486 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002131/0.1265, allocations: 101.5 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1265, allocations: 8 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1265, allocations: 4 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1266, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.1266, allocations: 23.92 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1267, allocations: 4.031 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.1267, allocations: 0 / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1267, allocations: 8 kB / 0.5487 GB, free: 14 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.0001199/0.1268, allocations: 129.8 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1269, allocations: 19.84 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.1269, allocations: 21.39 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1269, allocations: 7.938 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1269, allocations: 0 / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1269, allocations: 0 / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.1274, allocations: 411.2 kB / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1274, allocations: 0 / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1274, allocations: 8 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1274, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1275, allocations: 8 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1275, allocations: 3.938 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1275, allocations: 0 / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1277, allocations: 212.2 kB / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.1278, allocations: 89.02 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1278, allocations: 8 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1279, allocations: 0 / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1279, allocations: 7.984 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1279, allocations: 4 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1281, allocations: 204 kB / 0.5498 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1281, allocations: 4 kB / 0.5498 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1283, allocations: 27.92 kB / 0.5498 GB, free: 12.75 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.002121/0.1305, allocations: 1.101 MB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1306, allocations: 59.91 kB / 0.551 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1306, allocations: 0 / 0.551 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.1307, allocations: 23.94 kB / 0.551 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1311, allocations: 34.5 kB / 0.551 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1331, allocations: 1.807 MB / 0.5528 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1334, allocations: 0.7156 MB / 0.5535 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1335, allocations: 21.17 kB / 0.5535 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.1336, allocations: 43.42 kB / 0.5535 GB, free: 8.992 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1336, allocations: 0 / 0.5535 GB, free: 8.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.1578, allocations: 3.735 MB / 0.5572 GB, free: 5.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.116, allocations: 11.98 kB / 0.5572 GB, free: 5.281 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.267776239663363]