Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001787/0.001787, allocations: 117.6 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.002031/0.002031, 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.391/1.391, allocations: 225.6 MB / 249.8 MB, free: 3.586 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.2169/0.2169, allocations: 44.92 MB / 349.6 MB, free: 1.676 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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 81.56 kB / 491.9 MB, free: 30.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1138, allocations: 64.25 MB / 0.5431 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003071/0.1169, allocations: 1.721 MB / 0.5448 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1184, allocations: 0.8847 MB / 0.5456 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.1184, allocations: 0 / 0.5456 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1187, allocations: 47.75 kB / 0.5457 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.119, allocations: 51.77 kB / 0.5457 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1193, allocations: 115.6 kB / 0.5458 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1195, allocations: 91.7 kB / 0.5459 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1196, allocations: 8.5 kB / 0.5459 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.1196, allocations: 43.73 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.1197, allocations: 31.84 kB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1197, allocations: 8 kB / 0.546 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.1198, allocations: 39.98 kB / 0.546 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.1199, allocations: 31.86 kB / 0.5461 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.12, allocations: 39.72 kB / 0.5461 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1202, allocations: 115.5 kB / 0.5462 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1202, allocations: 0 / 0.5462 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1202, allocations: 0 / 0.5462 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1202, allocations: 3.938 kB / 0.5462 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.0005997/0.1208, allocations: 418.7 kB / 0.5466 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1208, allocations: 16.03 kB / 0.5466 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.1209, allocations: 30.75 kB / 0.5467 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1209, allocations: 8.891 kB / 0.5467 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1212, allocations: 218.4 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1212, allocations: 6.812 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1213, allocations: 4 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1214, allocations: 53.67 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1214, allocations: 0 / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1214, allocations: 0 / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1214, allocations: 8 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.1215, allocations: 19.97 kB / 0.547 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.1219, allocations: 292.8 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1221, allocations: 54.67 kB / 0.5473 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1221, allocations: 20.84 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1221, allocations: 4 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.1223, allocations: 71.33 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1223, allocations: 0 / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.1229, allocations: 169.4 kB / 0.5476 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.1229, allocations: 59.33 kB / 0.5476 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.1231, allocations: 206.5 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1232, allocations: 25.7 kB / 0.5478 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1232, allocations: 104.1 kB / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1233, allocations: 27.78 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1233, allocations: 21.72 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1234, allocations: 322.8 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.1235, allocations: 23.98 kB / 0.5483 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.1236, allocations: 37.64 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1237, allocations: 65.64 kB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1237, allocations: 0 / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.1239, allocations: 101.6 kB / 0.5485 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1239, allocations: 7.938 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1239, allocations: 0 / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1239, allocations: 4 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.124, allocations: 19.92 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.124, allocations: 0 / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.1241, allocations: 12.03 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1241, allocations: 0 / 0.5486 GB, free: 14.11 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.0001176/0.1242, allocations: 125.8 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1242, allocations: 12.27 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.1243, allocations: 21.39 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1243, allocations: 0 / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1243, allocations: 0 / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1243, allocations: 4 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.1248, allocations: 407.4 kB / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1248, allocations: 0 / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1248, allocations: 8 kB / 0.5491 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1248, allocations: 0 / 0.5491 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1248, allocations: 11.98 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1248, allocations: 0 / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1248, allocations: 3.938 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1251, allocations: 200.3 kB / 0.5493 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.1251, allocations: 96.95 kB / 0.5494 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1251, allocations: 0 / 0.5494 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1252, allocations: 7.984 kB / 0.5494 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1252, allocations: 4 kB / 0.5494 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1253, allocations: 4 kB / 0.5494 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1254, allocations: 148.9 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1254, allocations: 0 / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1257, allocations: 31.92 kB / 0.5496 GB, free: 12.93 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.002129/0.1278, allocations: 1.096 MB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.128, allocations: 59.89 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.128, allocations: 0 / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.128, allocations: 20 kB / 0.5507 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1284, allocations: 27.97 kB / 0.5508 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1303, allocations: 1.671 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1307, allocations: 0.7079 MB / 0.5531 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.1308, allocations: 16.88 kB / 0.5531 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.1308, allocations: 35.42 kB / 0.5531 GB, free: 9.348 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1308, allocations: 0 / 0.5531 GB, free: 9.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.1559, allocations: 3.466 MB / 0.5565 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.247, allocations: 11.97 kB / 0.5565 GB, free: 5.914 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.182615580037236]