Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001624, allocations: 115 kB / 19.13 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001719, allocations: 202.6 kB / 22.07 MB, free: 1 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.16 MB / 351.8 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.33 kB / 490.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1158, allocations: 62.44 MB / 0.5404 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003115/0.1189, allocations: 1.735 MB / 0.5421 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1207, allocations: 1.022 MB / 0.5431 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.1208, allocations: 0 / 0.5431 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1211, allocations: 47.7 kB / 0.5432 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1214, allocations: 91.55 kB / 0.5432 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1217, allocations: 83.66 kB / 0.5433 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1219, allocations: 99.75 kB / 0.5434 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.122, allocations: 19.98 kB / 0.5434 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.1221, allocations: 39.78 kB / 0.5435 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1221, allocations: 31.8 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1222, allocations: 4 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1223, allocations: 47.97 kB / 0.5436 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.1223, allocations: 19.92 kB / 0.5436 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1224, allocations: 35.69 kB / 0.5436 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1226, allocations: 123.5 kB / 0.5437 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1227, allocations: 0 / 0.5437 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1227, allocations: 0 / 0.5437 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1227, allocations: 0 / 0.5437 GB, free: 0.7422 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.0005727/0.1232, allocations: 433.5 kB / 0.5441 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1233, allocations: 8.031 kB / 0.5441 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1233, allocations: 8.891 kB / 0.5442 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1236, allocations: 212.8 kB / 0.5444 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1237, allocations: 4.375 kB / 0.5444 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.1237, allocations: 12.47 kB / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1239, allocations: 57.92 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1239, allocations: 4 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1239, allocations: 0 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1239, allocations: 4 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.124, allocations: 15.98 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1244, allocations: 284.9 kB / 0.5447 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1246, allocations: 66.61 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1246, allocations: 20.84 kB / 0.5448 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1247, allocations: 0 / 0.5448 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.1248, allocations: 67.39 kB / 0.5449 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1248, allocations: 0 / 0.5449 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005333/0.1254, allocations: 189.3 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1254, allocations: 51.41 kB / 0.5451 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1256, allocations: 195.6 kB / 0.5453 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1257, allocations: 25.7 kB / 0.5453 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.1257, allocations: 100.1 kB / 0.5454 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1258, allocations: 23.84 kB / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1258, allocations: 25.72 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.126, allocations: 330.8 kB / 0.5458 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.126, allocations: 31.86 kB / 0.5458 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1261, allocations: 33.7 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1262, allocations: 49.72 kB / 0.5459 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1262, allocations: 3.828 kB / 0.5459 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.1265, allocations: 117.6 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1265, allocations: 8.031 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1265, allocations: 0 / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1265, allocations: 4 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.1266, allocations: 15.98 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1266, allocations: 0 / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1267, allocations: 4 kB / 0.546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1267, allocations: 0 / 0.546 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.0001084/0.1268, allocations: 133.7 kB / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1268, allocations: 15.89 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.1269, allocations: 17.41 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1269, allocations: 4 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1269, allocations: 0 / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1269, allocations: 0 / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.1274, allocations: 399.2 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1274, allocations: 0 / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.1274, allocations: 8 kB / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1274, allocations: 0 / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1275, allocations: 8.031 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.1275, allocations: 7.938 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1275, allocations: 0 / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1277, allocations: 204.2 kB / 0.5468 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.1278, allocations: 89.02 kB / 0.5469 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1278, allocations: 4 kB / 0.5469 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1279, allocations: 8.312 kB / 0.5469 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.128, allocations: 11.98 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.128, allocations: 0 / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1281, allocations: 156.2 kB / 0.547 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1281, allocations: 0 / 0.547 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1284, allocations: 20 kB / 0.5471 GB, free: 12.98 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.001679/0.1301, allocations: 463.6 kB / 0.5475 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1303, allocations: 59.91 kB / 0.5476 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1303, allocations: 0 / 0.5476 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.1304, allocations: 31.92 kB / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1308, allocations: 31.48 kB / 0.5476 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.1313, allocations: 260.4 kB / 0.5479 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1316, allocations: 0.7041 MB / 0.5486 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.1317, allocations: 23.42 kB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1317, allocations: 0 / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004052/0.1357, allocations: 1.966 MB / 0.5505 GB, free: 9.578 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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: 7.746659237076528]