Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.00083/0.00083, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.000765/0.000765, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7855/0.7855, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1261/0.1261, allocations: 32.37 MB / 270.3 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.914e-05, allocations: 2.281 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00235/0.002379, allocations: 1.687 MB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.003274, allocations: 0.7726 MB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.003344, allocations: 4 kB / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.003632, allocations: 39.77 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.003834, allocations: 63.69 kB / 410.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.004023, allocations: 83.7 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.004182, allocations: 103.6 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.00428, allocations: 8.219 kB / 410.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.004361, allocations: 47.84 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.004431, allocations: 27.91 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.00445, allocations: 4 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.004528, allocations: 47.86 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.004585, allocations: 15.92 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.004623, allocations: 23.92 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.004796, allocations: 115.6 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.0048, allocations: 0 / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.004802, allocations: 7.938 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004807, allocations: 0 / 411.2 MB, free: 14.59 MB / 394.7 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.0004443/0.005251, allocations: 337.7 kB / 411.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.005287, allocations: 8.031 kB / 411.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.005328, allocations: 12.84 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.005529, allocations: 141.6 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005541, allocations: 384 / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.005561, allocations: 12.31 kB / 411.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005689, allocations: 58.23 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.0057, allocations: 3.938 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.005711, allocations: 4 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.005716, allocations: 4 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.005767, allocations: 15.98 kB / 411.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.006049, allocations: 224.6 kB / 412 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.006173, allocations: 62.61 kB / 412.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.00621, allocations: 24.78 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.006226, allocations: 4 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.006356, allocations: 71.38 kB / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006357, allocations: 0 / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004126/0.00677, allocations: 193.2 kB / 412.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.006801, allocations: 51.41 kB / 412.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.006922, allocations: 194.2 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006934, allocations: 29.7 kB / 412.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.006979, allocations: 100.1 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.007002, allocations: 19.86 kB / 412.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.007034, allocations: 33.7 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.007116, allocations: 318.8 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.007155, allocations: 20 kB / 413.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.007197, allocations: 41.64 kB / 413.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.007269, allocations: 61.64 kB / 413.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.00727, allocations: 0 / 413.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.007392, allocations: 113.5 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007404, allocations: 4 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007408, allocations: 4.031 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.007419, allocations: 0 / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.007485, allocations: 19.98 kB / 413.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.00749, allocations: 4.328 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.007519, allocations: 4 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.007526, allocations: 7.938 kB / 413.4 MB, free: 12.24 MB / 394.7 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 7.197e-05/0.007598, allocations: 133.6 kB / 413.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.007608, allocations: 11.95 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.007769, allocations: 122.4 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007771, allocations: 0 / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.007776, allocations: 7.984 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.007779, allocations: 0 / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.008057, allocations: 351.2 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.008059, allocations: 0 / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.008082, allocations: 12 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008084, allocations: 0 / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.008094, allocations: 8 kB / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.008096, allocations: 0 / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008097, allocations: 0 / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008233, allocations: 220.2 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.008246, allocations: 11.91 kB / 414.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008261, allocations: 0 / 414.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.0083, allocations: 11.94 kB / 414.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.00833, allocations: 7.984 kB / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.008341, allocations: 0 / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003345/0.008676, allocations: 151.2 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008676, allocations: 0 / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.008846, allocations: 24 kB / 414.4 MB, free: 11.12 MB / 394.7 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 (9): * Single equations (assignments): 7 * 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.0007155/0.009561, allocations: 496.6 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.009689, allocations: 51.98 kB / 415 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009691, allocations: 0 / 415 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.009735, allocations: 35.92 kB / 415 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.009962, allocations: 32.09 kB / 415 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01032, allocations: 248.2 kB / 415.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/0.01038, allocations: 88.31 kB / 415.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.01041, allocations: 24.44 kB / 415.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01041, allocations: 0 / 415.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.002587/0.013, allocations: 1.968 MB / 417.3 MB, free: 8.16 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.688424309715629]