Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001569/0.001569, allocations: 82.75 kB / 20.68 MB, free: 1.023 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.001683/0.001683, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.2032/0.2032, allocations: 32.82 MB / 293.5 MB, free: 36 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.609e-05, allocations: 2.281 kB / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003016/0.003042, allocations: 1.715 MB / 441.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.005633, allocations: 1.664 MB / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.00571, allocations: 3.938 kB / 443.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.006011, allocations: 39.77 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.006397, allocations: 107.4 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.006607, allocations: 75.67 kB / 443.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.006821, allocations: 103.6 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.006929, allocations: 8 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.007048, allocations: 63.75 kB / 444 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.007177, allocations: 39.89 kB / 444 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.007202, allocations: 4 kB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.007401, allocations: 107.8 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.007465, allocations: 19.92 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.007518, allocations: 27.92 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.00784, allocations: 171.5 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.007844, allocations: 7.938 kB / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007846, allocations: 0 / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.007857, allocations: 0 / 444.3 MB, free: 3.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000674/0.008531, allocations: 361.3 kB / 444.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.008573, allocations: 8.031 kB / 444.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.008629, allocations: 8.891 kB / 444.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.008886, allocations: 149.2 kB / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.008896, allocations: 384 / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.008925, allocations: 12.33 kB / 444.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.009137, allocations: 101 kB / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.00915, allocations: 0 / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.009163, allocations: 0 / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.009168, allocations: 0 / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.009256, allocations: 27.92 kB / 445 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.009645, allocations: 232.5 kB / 445.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.009837, allocations: 58.66 kB / 445.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.009898, allocations: 16.86 kB / 445.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.009911, allocations: 8 kB / 445.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.01009, allocations: 71.31 kB / 445.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.01009, allocations: 0 / 445.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006113/0.0107, allocations: 177.4 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.01076, allocations: 85.05 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.01096, allocations: 173.3 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.01098, allocations: 25.7 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.01105, allocations: 100.1 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.01108, allocations: 19.86 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.01113, allocations: 29.7 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01128, allocations: 322.8 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.01134, allocations: 20 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.01143, allocations: 68.27 kB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01156, allocations: 69.7 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.01156, allocations: 0 / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.01176, allocations: 105.6 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01177, allocations: 4 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01178, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01179, allocations: 8.062 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.0119, allocations: 24.48 kB / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01191, allocations: 0 / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.01196, allocations: 7.938 kB / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01197, allocations: 8 kB / 446.6 MB, free: 1.434 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 (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.0001092/0.01208, allocations: 126.4 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01211, allocations: 11.95 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.01237, allocations: 114.4 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01237, allocations: 4 kB / 446.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01238, allocations: 4 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01238, allocations: 0 / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.01284, allocations: 362.8 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01284, allocations: 0 / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.01288, allocations: 8 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01288, allocations: 0 / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01289, allocations: 4 kB / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01289, allocations: 3.984 kB / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01289, allocations: 3.938 kB / 447.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.01315, allocations: 208.3 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.01318, allocations: 19.92 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.0132, allocations: 0 / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.01328, allocations: 7.984 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.01332, allocations: 19.86 kB / 447.5 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.01333, allocations: 4 kB / 447.5 MB, free: 484 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01346, allocations: 133.5 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01346, allocations: 0 / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.01375, allocations: 43.86 kB / 447.6 MB, free: 308 kB / 366.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 (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.1887/0.2025, allocations: 0.5878 MB / 448.2 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2028, allocations: 57.19 kB / 448.3 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2028, allocations: 1.125 kB / 448.3 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.2029, allocations: 31.45 kB / 448.3 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.2033, allocations: 30.45 kB / 448.3 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.2037, allocations: 203.6 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.479e-05/0.2038, allocations: 91.33 kB / 448.6 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.2038, allocations: 19.39 kB / 448.6 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.2039, allocations: 24.25 kB / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2039, allocations: 0 / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of Templates: time 0.00584/0.2097, allocations: 2.509 MB / 451.2 MB, free: 20.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.621404178440571]