Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3765/0.3765, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.319e-05, allocations: 5.547 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003613/0.003646, allocations: 1.903 MB / 379.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.005952, allocations: 1.095 MB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.00607, allocations: 7.938 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.00662, allocations: 227.1 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005824/0.007202, allocations: 223 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.007616, allocations: 115.5 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.008111, allocations: 263.2 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.008262, allocations: 17.95 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.008611, allocations: 147.7 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.008896, allocations: 151.6 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.008935, allocations: 19.94 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.009117, allocations: 67.91 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.009232, allocations: 59.77 kB / 381.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.009325, allocations: 43.8 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.009776, allocations: 243.1 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00978, allocations: 0 / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.009782, allocations: 0 / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.00979, allocations: 0 / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001127/0.01092, allocations: 0.6154 MB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.01096, allocations: 8.031 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.01106, allocations: 40.75 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.01146, allocations: 228.5 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.01147, allocations: 4.375 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.01151, allocations: 12.38 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.01176, allocations: 109.6 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.01178, allocations: 7.922 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.0118, allocations: 4 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.0118, allocations: 4 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.01199, allocations: 47.89 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.01285, allocations: 0.5335 MB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.01343, allocations: 138.1 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.01355, allocations: 47.48 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.01357, allocations: 4 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.01385, allocations: 136.5 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.01385, allocations: 0 / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001476/0.01533, allocations: 0.5047 MB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.0154, allocations: 88.98 kB / 384.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.01591, allocations: 450.3 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.01594, allocations: 29.7 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.01614, allocations: 231.3 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/0.01624, allocations: 75.42 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.01632, allocations: 55.36 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003298/0.01665, allocations: 0.5352 MB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01678, allocations: 51.98 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.01696, allocations: 110.6 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.01729, allocations: 170.8 kB / 386.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01729, allocations: 4 kB / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004676/0.01776, allocations: 249.2 kB / 386.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01777, allocations: 4 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01778, allocations: 4 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.0178, allocations: 0 / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01796, allocations: 39.98 kB / 386.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.01797, allocations: 7.875 kB / 386.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.01806, allocations: 11.98 kB / 386.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.01808, allocations: 8 kB / 386.5 MB, free: 9.488 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001947/0.01827, allocations: 176.6 kB / 386.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.01835, allocations: 43.77 kB / 386.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.01894, allocations: 269.6 kB / 386.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.01894, allocations: 4 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.01895, allocations: 3.938 kB / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01895, allocations: 0 / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.02027, allocations: 0.8231 MB / 387.8 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.02027, allocations: 4 kB / 387.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.02038, allocations: 36.05 kB / 387.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.02039, allocations: 4 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.02041, allocations: 8 kB / 387.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.02041, allocations: 7.938 kB / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02042, allocations: 0 / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.0213, allocations: 0.5431 MB / 388.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.02136, allocations: 27.81 kB / 388.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.0214, allocations: 11.98 kB / 388.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.02154, allocations: 8 kB / 388.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.02162, allocations: 23.95 kB / 388.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.02165, allocations: 12 kB / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003743/0.02202, allocations: 302.9 kB / 388.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02202, allocations: 0 / 388.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.02244, allocations: 55.89 kB / 388.8 MB, free: 7.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003871/0.02631, allocations: 0.5514 MB / 389.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.02681, allocations: 172 kB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.02682, allocations: 4 kB / 389.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.02703, allocations: 99.64 kB / 389.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.02763, allocations: 63.47 kB / 389.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02863, allocations: 0.5207 MB / 390.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.02883, allocations: 173 kB / 390.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.02895, allocations: 33.94 kB / 390.4 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.02903, allocations: 28.48 kB / 390.4 MB, free: 5.566 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02903, allocations: 4 kB / 390.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of Templates: time 0.008753/0.03778, allocations: 3.325 MB / 393.8 MB, free: 2.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 5.120450731017627]