Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001221/0.001221, allocations: 85.2 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001614/0.001614, allocations: 164.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.393/1.393, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] 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.2029/0.2029, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 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.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 440.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.846e-05, allocations: 2.281 kB / 440.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003015/0.003043, allocations: 1.677 MB / 441.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004811, allocations: 0.9548 MB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.004887, allocations: 0 / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.005232, allocations: 55.69 kB / 442.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.005575, allocations: 107.5 kB / 443 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.005755, allocations: 79.59 kB / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.00593, allocations: 95.7 kB / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.005973, allocations: 240 / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.006091, allocations: 63.75 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.006166, allocations: 23.92 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.006186, allocations: 0 / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.006269, allocations: 35.92 kB / 443.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.006328, allocations: 23.92 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.006376, allocations: 27.86 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.006599, allocations: 115.6 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006602, allocations: 4 kB / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006603, allocations: 0 / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006608, allocations: 0 / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005579/0.007166, allocations: 369.3 kB / 443.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.0072, allocations: 11.97 kB / 443.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.007247, allocations: 16.84 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.007474, allocations: 154.5 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.007487, allocations: 384 / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.0075, allocations: 4.375 kB / 444 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.007648, allocations: 50.23 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007659, allocations: 7.938 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.007672, allocations: 4 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.00768, allocations: 0 / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.007754, allocations: 15.98 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.007947, allocations: 137.3 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.00813, allocations: 54.55 kB / 444.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.008187, allocations: 16.86 kB / 444.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.008202, allocations: 0 / 444.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.008374, allocations: 79.38 kB / 444.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.008376, allocations: 0 / 444.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003118/0.008688, allocations: 109.4 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.008737, allocations: 55.41 kB / 444.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.00904, allocations: 280 kB / 444.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.00906, allocations: 25.7 kB / 444.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.009139, allocations: 116.1 kB / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.009178, allocations: 15.84 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.009218, allocations: 17.72 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.009381, allocations: 334.8 kB / 445.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.175e-05/0.009433, allocations: 16 kB / 445.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.009495, allocations: 33.62 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.009615, allocations: 49.64 kB / 445.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009617, allocations: 0 / 445.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001693/0.009786, allocations: 85.59 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.009804, allocations: 8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.009814, allocations: 7.922 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.00983, allocations: 0 / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.009914, allocations: 11.94 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.00992, allocations: 8.031 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.009965, allocations: 0 / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.009975, allocations: 4 kB / 445.5 MB, free: 2.586 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001294/0.0101, allocations: 138 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.01013, allocations: 15.89 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.01037, allocations: 102.8 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01037, allocations: 3.938 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01037, allocations: 0 / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01037, allocations: 0 / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.01053, allocations: 149.6 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01053, allocations: 4 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.01056, allocations: 8 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01056, allocations: 3.984 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01057, allocations: 0 / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01057, allocations: 7.938 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01057, allocations: 0 / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.01078, allocations: 117 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.0108, allocations: 15.91 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.01083, allocations: 4 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.01087, allocations: 3.938 kB / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.0109, allocations: 11.98 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01092, allocations: 4 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.01112, allocations: 216.3 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01112, allocations: 0 / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.01133, allocations: 15.94 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001609/0.01294, allocations: 435.1 kB / 446.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.0131, allocations: 39.97 kB / 446.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01311, allocations: 4 kB / 446.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/0.01317, allocations: 24 kB / 446.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.01345, allocations: 31.59 kB / 446.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.01397, allocations: 273.6 kB / 447.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01408, allocations: 105.7 kB / 447.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.01412, allocations: 4.5 kB / 447.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.01415, allocations: 28.42 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01415, allocations: 4 kB / 447.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of Templates: time 0.1739/0.188, allocations: 1.646 MB / 448.9 MB, free: 21.28 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 4.477692771703005]