Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.00127/0.00127, allocations: 119 kB / 18.5 MB, free: 4.602 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.001301/0.001301, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.385/1.385, allocations: 225.6 MB / 249.8 MB, free: 3.652 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.2499/0.2499, allocations: 44.92 MB / 349.6 MB, free: 1.77 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 69.44 kB / 491.9 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1139, allocations: 64.26 MB / 0.5431 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003569/0.1174, allocations: 1.702 MB / 0.5448 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.119, allocations: 0.8924 MB / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.119, allocations: 0 / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1194, allocations: 43.75 kB / 0.5457 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1196, allocations: 59.77 kB / 0.5457 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1199, allocations: 111.6 kB / 0.5458 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1201, allocations: 95.69 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1202, allocations: 8.516 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.1203, allocations: 39.8 kB / 0.546 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.1204, allocations: 35.83 kB / 0.546 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1204, allocations: 4 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.1205, allocations: 39.98 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.1206, allocations: 35.84 kB / 0.5461 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1206, allocations: 31.75 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1209, allocations: 115.5 kB / 0.5462 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1209, allocations: 3.938 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1209, allocations: 0 / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1209, allocations: 0 / 0.5462 GB, free: 0.8359 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.0006391/0.1215, allocations: 422.7 kB / 0.5466 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1216, allocations: 8.031 kB / 0.5466 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.1216, allocations: 34.69 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.1216, allocations: 12.89 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.122, allocations: 216.8 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.122, allocations: 8.375 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.122, allocations: 3.938 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1222, allocations: 53.67 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1222, allocations: 4 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1222, allocations: 0 / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1222, allocations: 0 / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.1223, allocations: 19.98 kB / 0.547 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1228, allocations: 300.8 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1229, allocations: 46.69 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.123, allocations: 20.84 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.123, allocations: 4 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.1232, allocations: 67.39 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.018e-05/0.1232, allocations: 3.984 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.1238, allocations: 181.3 kB / 0.5476 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1239, allocations: 55.41 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1241, allocations: 206.5 kB / 0.5478 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1241, allocations: 25.7 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.1242, allocations: 108.1 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1242, allocations: 23.8 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1243, allocations: 25.7 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1244, allocations: 322.8 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1245, allocations: 20 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1246, allocations: 33.7 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1247, allocations: 65.69 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1247, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.1249, allocations: 101.5 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1249, allocations: 11.98 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1249, allocations: 0 / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1249, allocations: 0 / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.125, allocations: 15.94 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.125, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1251, allocations: 7.938 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1251, allocations: 7.984 kB / 0.5486 GB, free: 14.2 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.0001182/0.1252, allocations: 122.1 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1252, allocations: 16.28 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.1253, allocations: 25.33 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1253, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1253, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.1253, allocations: 11.94 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.1258, allocations: 383.3 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1258, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.1258, allocations: 20.02 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1258, allocations: 7.938 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1258, allocations: 0 / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1258, allocations: 0 / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1258, allocations: 0 / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1261, allocations: 208.2 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1262, allocations: 85.06 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1262, allocations: 15.92 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.1263, allocations: 0 / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1263, allocations: 4 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1263, allocations: 8 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1264, allocations: 148.9 kB / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1264, allocations: 0 / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1267, allocations: 27.92 kB / 0.5496 GB, free: 13.02 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.002187/0.1289, allocations: 1.101 MB / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1291, allocations: 59.91 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1291, allocations: 0 / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.077e-05/0.1291, allocations: 23.98 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1295, allocations: 29.95 kB / 0.5508 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1314, allocations: 1.67 MB / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1318, allocations: 0.7002 MB / 0.5531 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.1319, allocations: 21.17 kB / 0.5531 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.1319, allocations: 39.36 kB / 0.5531 GB, free: 9.438 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1319, allocations: 4 kB / 0.5531 GB, free: 9.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1564, allocations: 3.45 MB / 0.5565 GB, free: 6.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.127, allocations: 16.03 kB / 0.5565 GB, free: 6.004 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.041676046792418]