Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001255/0.001255, allocations: 84.55 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.001371/0.001371, allocations: 163.9 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.484/1.484, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2442/0.2442, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.803e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00326/0.003288, allocations: 1.72 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.005234, allocations: 0.9709 MB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.005341, allocations: 0 / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.005695, allocations: 63.67 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.00611, allocations: 99.53 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.006374, allocations: 79.55 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.006575, allocations: 107.6 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.006666, allocations: 7.984 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.006781, allocations: 55.78 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.00687, allocations: 27.91 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.006893, allocations: 4 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.007, allocations: 43.98 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.007071, allocations: 35.89 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.007124, allocations: 23.81 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.007369, allocations: 135.5 kB / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007371, allocations: 0 / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.007372, allocations: 3.938 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.007377, allocations: 0 / 446.1 MB, free: 1.918 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.0006079/0.007985, allocations: 385.3 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.008019, allocations: 8.031 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.00807, allocations: 16.84 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.008309, allocations: 165.4 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.008323, allocations: 4.375 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.008344, allocations: 4.375 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.008502, allocations: 58.22 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.008517, allocations: 3.938 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.008527, allocations: 0 / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.008531, allocations: 0 / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.008615, allocations: 23.92 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.008979, allocations: 240.6 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.009162, allocations: 54.67 kB / 447.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.009227, allocations: 28.77 kB / 447.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.009245, allocations: 11.88 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.009392, allocations: 63.39 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.009393, allocations: 0 / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005741/0.009967, allocations: 197.4 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.01001, allocations: 55.41 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.01031, allocations: 280 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.01034, allocations: 33.7 kB / 447.7 MB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.01042, allocations: 120.1 kB / 447.8 MB, free: 52 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.01045, allocations: 27.78 kB / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.01049, allocations: 17.72 kB / 447.9 MB, free: 0 / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2114/0.2219, allocations: 326.8 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.222, allocations: 23.75 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.2221, allocations: 36.02 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2223, allocations: 65.25 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.2223, allocations: 0 / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002854/0.2226, allocations: 108.2 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2226, allocations: 10.41 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2226, allocations: 2.812 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.2226, allocations: 1.312 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2227, allocations: 14.81 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2228, allocations: 6.312 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.2228, allocations: 7.609 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2228, allocations: 2.906 kB / 448.5 MB, free: 18.98 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.0001239/0.223, allocations: 136.9 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.223, allocations: 16.34 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.2233, allocations: 133.2 kB / 448.8 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2233, allocations: 1.594 kB / 448.8 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2233, allocations: 3.938 kB / 448.8 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2233, allocations: 1.266 kB / 448.8 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.2238, allocations: 364.1 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2238, allocations: 0 / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.2239, allocations: 10.52 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2239, allocations: 1.281 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2239, allocations: 6.672 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2239, allocations: 5.031 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2239, allocations: 0 / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.2241, allocations: 222.7 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.2242, allocations: 19.88 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2242, allocations: 6.375 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.2243, allocations: 2.922 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2243, allocations: 10.5 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.2243, allocations: 4.094 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.2246, allocations: 218.3 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2246, allocations: 0 / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.2248, allocations: 27.62 kB / 449.6 MB, free: 18.35 MB / 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.001918/0.2268, allocations: 499.9 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.227, allocations: 62.25 kB / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.227, allocations: 0 / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.2271, allocations: 29.47 kB / 450.2 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.2275, allocations: 40.67 kB / 450.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.2281, allocations: 315.8 kB / 450.6 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.2282, allocations: 111.8 kB / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.2282, allocations: 13.52 kB / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.2283, allocations: 22.55 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2283, allocations: 0 / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.006149/0.2344, allocations: 1.866 MB / 452.6 MB, free: 17.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.014431916177273]