Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001757/0.001757, 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.00211/0.00211, 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.408/1.408, allocations: 225.6 MB / 249.8 MB, free: 3.512 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.2125/0.2125, allocations: 44.92 MB / 349.6 MB, free: 1.738 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 65.91 kB / 491.9 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 64.27 MB / 0.5431 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003188/0.1121, allocations: 1.707 MB / 0.5448 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1136, allocations: 0.9118 MB / 0.5457 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.1137, allocations: 11.94 kB / 0.5457 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.114, allocations: 31.84 kB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1142, allocations: 55.69 kB / 0.5457 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1145, allocations: 111.6 kB / 0.5459 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1146, allocations: 99.69 kB / 0.546 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.1147, allocations: 8.516 kB / 0.546 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.1148, allocations: 47.77 kB / 0.546 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.1149, allocations: 39.78 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1149, allocations: 8 kB / 0.5461 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.115, allocations: 67.95 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1151, allocations: 15.88 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1151, allocations: 31.8 kB / 0.5462 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1153, allocations: 127.5 kB / 0.5463 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1153, allocations: 0 / 0.5463 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1153, allocations: 0 / 0.5463 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1153, allocations: 0 / 0.5463 GB, free: 0.7695 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.000545/0.1159, allocations: 420.5 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1159, allocations: 8.031 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.116, allocations: 34.75 kB / 0.5467 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.116, allocations: 16.89 kB / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1163, allocations: 200.2 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1163, allocations: 4.375 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1163, allocations: 7.938 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1165, allocations: 67.39 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1165, allocations: 0 / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1165, allocations: 0 / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1165, allocations: 7.938 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.1166, allocations: 19.98 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.117, allocations: 284.8 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1172, allocations: 58.61 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1172, allocations: 28.97 kB / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1172, allocations: 4 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1174, allocations: 79.3 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1174, allocations: 0 / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005687/0.118, allocations: 197.4 kB / 0.5477 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.118, allocations: 81.05 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1182, allocations: 159.3 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1182, allocations: 25.7 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.1183, allocations: 100.1 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.1183, allocations: 35.73 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1184, allocations: 21.72 kB / 0.5481 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1185, allocations: 326.8 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.1186, allocations: 27.98 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.1187, allocations: 50.55 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1188, allocations: 81.67 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1188, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002355/0.1191, allocations: 125.5 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1191, allocations: 4 kB / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1191, allocations: 0 / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1191, allocations: 7.938 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.1192, allocations: 19.98 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1192, allocations: 0 / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1193, allocations: 8.031 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1193, allocations: 4 kB / 0.5487 GB, free: 14.04 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.0001032/0.1194, allocations: 125.8 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1194, allocations: 15.95 kB / 0.5488 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.1194, allocations: 12.72 kB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.1194, allocations: 7.922 kB / 0.5488 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1194, allocations: 0 / 0.5488 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1195, allocations: 3.984 kB / 0.5488 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.12, allocations: 435.2 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.12, allocations: 0 / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.12, allocations: 11.94 kB / 0.5493 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.12, allocations: 7.984 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.12, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.12, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.12, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1203, allocations: 220.2 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.1204, allocations: 89.05 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1204, allocations: 0 / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1204, allocations: 8 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1205, allocations: 7.984 kB / 0.5496 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.1205, allocations: 4 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1206, allocations: 117.1 kB / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1206, allocations: 0 / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1209, allocations: 39.94 kB / 0.5497 GB, free: 12.85 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 (10): * Single equations (assignments): 8 * 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.002278/0.1232, allocations: 1.154 MB / 0.5509 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.1234, allocations: 87.83 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1234, allocations: 0 / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.1235, allocations: 31.97 kB / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1238, allocations: 30.59 kB / 0.551 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1257, allocations: 1.635 MB / 0.5526 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.126, allocations: 0.7076 MB / 0.5533 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.1261, allocations: 24.56 kB / 0.5533 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.1262, allocations: 31.64 kB / 0.5534 GB, free: 9.227 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1262, allocations: 0 / 0.5534 GB, free: 9.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1529, allocations: 3.809 MB / 0.5571 GB, free: 5.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.344, allocations: 1.797 kB / 0.5571 GB, free: 5.406 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.268870489206165]