Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001552/0.001552, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.001442/0.001442, allocations: 173.2 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.692/1.692, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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.2459/0.2459, allocations: 32.37 MB / 269.6 MB, free: 4.648 MB / 254.1 MB " [Timeout remaining time 179] 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.791e-05, allocations: 2.281 kB / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003527/0.003555, allocations: 1.682 MB / 409.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.005431, allocations: 0.7724 MB / 409.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.005522, allocations: 11.94 kB / 409.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.00591, allocations: 39.83 kB / 409.9 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.006181, allocations: 55.69 kB / 410 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.006609, allocations: 87.64 kB / 410.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.006847, allocations: 99.62 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.006955, allocations: 12.17 kB / 410.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.007086, allocations: 51.83 kB / 410.2 MB, free: 100 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.007205, allocations: 31.91 kB / 410.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.00723, allocations: 4 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.007388, allocations: 47.84 kB / 410.3 MB, free: 16 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.007455, allocations: 15.94 kB / 410.3 MB, free: 0 / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.007541, allocations: 23.98 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.007795, allocations: 115.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.007798, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.71e-07/0.007798, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.007804, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.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.0007273/0.008532, allocations: 337.6 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.008582, allocations: 12.03 kB / 410.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.008646, allocations: 16.84 kB / 410.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.008942, allocations: 147.2 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.00896, allocations: 8.312 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.008982, allocations: 384 / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.009179, allocations: 58.23 kB / 411 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.009198, allocations: 3.938 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.009215, allocations: 7.922 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.009222, allocations: 0 / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.009324, allocations: 19.98 kB / 411.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.009849, allocations: 236.5 kB / 411.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.01008, allocations: 58.62 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.01015, allocations: 28.78 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.01017, allocations: 0 / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.01033, allocations: 67.39 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.01033, allocations: 0 / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006337/0.01097, allocations: 181.4 kB / 411.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.01103, allocations: 55.39 kB / 411.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01127, allocations: 203.3 kB / 411.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.01129, allocations: 33.7 kB / 411.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01142, allocations: 108.1 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.01147, allocations: 23.8 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.01152, allocations: 25.7 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.01171, allocations: 326.8 kB / 412.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.01177, allocations: 15.94 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.01185, allocations: 41.64 kB / 412.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01199, allocations: 65.64 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.012, allocations: 0 / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.0122, allocations: 113.5 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01222, allocations: 4 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.01222, allocations: 0 / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01224, allocations: 4 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.01234, allocations: 15.98 kB / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01234, allocations: 0 / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.01239, allocations: 4 kB / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.0124, allocations: 0 / 412.7 MB, free: 13.5 MB / 350.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.0002208/0.01262, allocations: 137.7 kB / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.01264, allocations: 15.94 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.01294, allocations: 127.2 kB / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01295, allocations: 0 / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01295, allocations: 0 / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01295, allocations: 0 / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.01349, allocations: 346.9 kB / 413.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01349, allocations: 7.938 kB / 413.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.01353, allocations: 8 kB / 413.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01353, allocations: 0 / 413.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01355, allocations: 8.031 kB / 413.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01355, allocations: 4.375 kB / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01355, allocations: 0 / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.01395, allocations: 224.2 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.01397, allocations: 15.91 kB / 413.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.014, allocations: 0 / 413.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.01407, allocations: 4 kB / 413.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.01419, allocations: 11.98 kB / 413.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.0142, allocations: 384 / 413.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.01435, allocations: 159.9 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01435, allocations: 0 / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.01462, allocations: 31.92 kB / 413.7 MB, free: 12.35 MB / 350.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.001872/0.01649, allocations: 493.4 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.0167, allocations: 63.95 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0167, allocations: 3.938 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.01679, allocations: 27.98 kB / 414.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.01714, allocations: 23.98 kB / 414.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.01771, allocations: 238 kB / 414.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.01782, allocations: 96.3 kB / 414.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.01788, allocations: 24.77 kB / 414.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.01793, allocations: 16.5 kB / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01793, allocations: 0 / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Templates: time 0.005931/0.02386, allocations: 1.827 MB / 416.5 MB, free: 9.613 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.270113803446293]