Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001946/0.001946, allocations: 119 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.002075/0.002075, allocations: 190.9 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.589/1.589, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.2118/0.2118, allocations: 44.92 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 66.64 kB / 491.9 MB, free: 30.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1105, allocations: 64.26 MB / 0.5431 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003214/0.1137, allocations: 1.717 MB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1152, allocations: 0.8846 MB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.1153, allocations: 4 kB / 0.5456 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1155, allocations: 39.81 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1157, allocations: 63.62 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.116, allocations: 107.6 kB / 0.5458 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1162, allocations: 103.7 kB / 0.5459 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.1163, allocations: 8.516 kB / 0.5459 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.1164, allocations: 43.78 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.1164, allocations: 27.84 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1165, allocations: 4 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.69e-05/0.1166, allocations: 43.98 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1166, allocations: 23.92 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1167, allocations: 35.73 kB / 0.5461 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1169, allocations: 119.4 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1169, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1169, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1169, allocations: 7.938 kB / 0.5462 GB, free: 0.7773 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.0005594/0.1174, allocations: 418.7 kB / 0.5466 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1175, allocations: 8.031 kB / 0.5466 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.1175, allocations: 38.75 kB / 0.5467 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1176, allocations: 12.88 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1178, allocations: 204.9 kB / 0.5469 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1178, allocations: 4.375 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1179, allocations: 11.94 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.118, allocations: 53.61 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1181, allocations: 3.984 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1181, allocations: 4 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1181, allocations: 0 / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.401e-05/0.1182, allocations: 19.98 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.1186, allocations: 280.9 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1188, allocations: 58.62 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.1189, allocations: 20.84 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1189, allocations: 0 / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.119, allocations: 71.38 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.186e-06/0.119, allocations: 11.98 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005257/0.1196, allocations: 177.3 kB / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1196, allocations: 51.41 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1198, allocations: 202.5 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1198, allocations: 33.7 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.1199, allocations: 100.1 kB / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1199, allocations: 23.8 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.12, allocations: 25.7 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1201, allocations: 326.8 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1202, allocations: 19.98 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.1203, allocations: 41.59 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1204, allocations: 57.7 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1204, allocations: 0 / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1206, allocations: 117.5 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1206, allocations: 6.031 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1206, allocations: 0 / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1206, allocations: 0 / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.1207, allocations: 16 kB / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1207, allocations: 0 / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.1208, allocations: 7.922 kB / 0.5486 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1208, allocations: 4 kB / 0.5486 GB, free: 14.15 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.0001077/0.1209, allocations: 129.8 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1209, allocations: 19.89 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.1209, allocations: 13.41 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1209, allocations: 4 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1209, allocations: 0 / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.121, allocations: 3.938 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1214, allocations: 391.3 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1214, allocations: 3.984 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.1215, allocations: 8 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1215, allocations: 3.969 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1215, allocations: 4 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1215, allocations: 4 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1215, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1217, allocations: 204.2 kB / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.1218, allocations: 89.05 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1218, allocations: 8.25 kB / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1219, allocations: 12 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1219, allocations: 3.984 kB / 0.5494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1219, allocations: 8 kB / 0.5494 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1221, allocations: 152.9 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1221, allocations: 0 / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1223, allocations: 23.94 kB / 0.5496 GB, free: 12.97 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.002085/0.1244, allocations: 1.094 MB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1246, allocations: 59.95 kB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1246, allocations: 0 / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.1247, allocations: 31.92 kB / 0.5508 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.125, allocations: 23.98 kB / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1269, allocations: 1.666 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1273, allocations: 0.7119 MB / 0.5531 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1274, allocations: 13.19 kB / 0.5531 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.1274, allocations: 35.42 kB / 0.5531 GB, free: 9.391 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1274, allocations: 0 / 0.5531 GB, free: 9.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1512, allocations: 3.461 MB / 0.5565 GB, free: 5.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.188, allocations: 11.97 kB / 0.5565 GB, free: 5.957 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.305572802200913]