Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001539/0.001539, 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.001734/0.001734, 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.52/1.52, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.2129/0.2129, allocations: 44.92 MB / 349.6 MB, free: 1.727 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 69.84 kB / 491.9 MB, free: 29.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 64.26 MB / 0.5431 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003118/0.1133, allocations: 1.733 MB / 0.5448 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1148, allocations: 0.8924 MB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.1148, allocations: 3.938 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1151, allocations: 91.69 kB / 0.5458 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1154, allocations: 79.64 kB / 0.5458 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1157, allocations: 115.7 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1158, allocations: 103.8 kB / 0.546 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.1159, allocations: 16.25 kB / 0.5461 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.116, allocations: 55.72 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1162, allocations: 71.73 kB / 0.5462 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1162, allocations: 4 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1163, allocations: 63.95 kB / 0.5462 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.1163, allocations: 23.92 kB / 0.5463 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.1164, allocations: 35.69 kB / 0.5463 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1166, allocations: 147.3 kB / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1166, allocations: 0 / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1166, allocations: 0 / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1166, allocations: 0 / 0.5464 GB, free: 0.5703 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005746/0.1172, allocations: 442.5 kB / 0.5469 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1172, allocations: 8.031 kB / 0.5469 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.1173, allocations: 38.67 kB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1173, allocations: 12.89 kB / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1176, allocations: 216.1 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1176, allocations: 384 / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1176, allocations: 7.938 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1178, allocations: 73.56 kB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1178, allocations: 0 / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1178, allocations: 0 / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1178, allocations: 0 / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.1179, allocations: 31.97 kB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.1183, allocations: 300.8 kB / 0.5475 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1185, allocations: 58.5 kB / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1186, allocations: 20.97 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1186, allocations: 0 / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1188, allocations: 67.39 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1188, allocations: 4 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007359/0.1195, allocations: 253.2 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.1196, allocations: 59.34 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1198, allocations: 222.6 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1198, allocations: 25.7 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1199, allocations: 112.1 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1199, allocations: 35.69 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.12, allocations: 29.72 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1201, allocations: 322.8 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.1202, allocations: 31.98 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.1203, allocations: 48.95 kB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1204, allocations: 73.7 kB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1204, allocations: 0 / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002279/0.1206, allocations: 133.5 kB / 0.5489 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1207, allocations: 8 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1207, allocations: 0 / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1207, allocations: 0 / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.1208, allocations: 31.86 kB / 0.549 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1208, allocations: 0 / 0.549 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1208, allocations: 4 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1208, allocations: 4 kB / 0.549 GB, free: 13.7 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 (13): * Single equations (assignments): 13 * 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.0001177/0.1209, allocations: 138.8 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.121, allocations: 11.98 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.121, allocations: 25.39 kB / 0.5492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.121, allocations: 3.938 kB / 0.5492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.121, allocations: 0 / 0.5492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.121, allocations: 0 / 0.5492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.1216, allocations: 459.9 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1216, allocations: 0 / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.1217, allocations: 16.06 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1217, allocations: 0 / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1217, allocations: 8 kB / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1217, allocations: 0 / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1217, allocations: 7.938 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.122, allocations: 233.2 kB / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.122, allocations: 93.02 kB / 0.5499 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1221, allocations: 0 / 0.5499 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.1221, allocations: 15.98 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1222, allocations: 4 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1222, allocations: 7.984 kB / 0.55 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1224, allocations: 171.2 kB / 0.5501 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1224, allocations: 3.938 kB / 0.5501 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1226, allocations: 31.92 kB / 0.5502 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002353/0.125, allocations: 1.178 MB / 0.5513 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1252, allocations: 83.78 kB / 0.5514 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1252, allocations: 4.062 kB / 0.5514 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.1253, allocations: 35.92 kB / 0.5514 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1256, allocations: 30.17 kB / 0.5515 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1278, allocations: 1.821 MB / 0.5532 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1281, allocations: 0.7193 MB / 0.5539 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.286e-05/0.1282, allocations: 20.62 kB / 0.554 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.1283, allocations: 43.42 kB / 0.554 GB, free: 8.52 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1283, allocations: 4 kB / 0.554 GB, free: 8.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1531, allocations: 3.874 MB / 0.5578 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.161, allocations: 7.688 kB / 0.5578 GB, free: 4.656 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.26073637418449]