Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001406/0.001406, 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.001636/0.001636, 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.485/1.485, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.2281/0.2281, allocations: 34.27 MB / 295 MB, free: 14.57 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.567e-05, allocations: 2.281 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00338/0.003405, allocations: 1.807 MB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.00658, allocations: 1.738 MB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.006712, allocations: 0 / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.007099, allocations: 55.62 kB / 446.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.007692, allocations: 139.2 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.007954, allocations: 107.6 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.00826, allocations: 211.2 kB / 446.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.008314, allocations: 5.812 kB / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.008497, allocations: 111.7 kB / 446.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.008682, allocations: 67.78 kB / 447 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.008714, allocations: 11.94 kB / 447 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.008947, allocations: 115.8 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.009051, allocations: 31.84 kB / 447.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.009148, allocations: 43.84 kB / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.009639, allocations: 227.3 kB / 447.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.009644, allocations: 0 / 447.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.009646, allocations: 0 / 447.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.009652, allocations: 4 kB / 447.4 MB, free: 0.6406 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001003/0.01066, allocations: 428.9 kB / 447.8 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.0107, allocations: 12.03 kB / 447.8 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.01078, allocations: 20.8 kB / 447.9 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.204/0.2148, allocations: 179.4 kB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.2148, allocations: 3.297 kB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2149, allocations: 5 kB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.2152, allocations: 153.1 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2152, allocations: 4.875 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2152, allocations: 4.328 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2152, allocations: 1.219 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2153, allocations: 39.28 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.2156, allocations: 161 kB / 448.4 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.2158, allocations: 115.9 kB / 448.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.2159, allocations: 37.88 kB / 448.5 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.216, allocations: 0.9062 kB / 448.5 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.2162, allocations: 112.3 kB / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.2162, allocations: 0 / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004894/0.2167, allocations: 176.1 kB / 448.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2167, allocations: 132.5 kB / 449 MB, free: 18.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.217, allocations: 252.9 kB / 449.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.217, allocations: 31.41 kB / 449.2 MB, free: 18.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.2171, allocations: 118.4 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.2171, allocations: 24.11 kB / 449.4 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2172, allocations: 29.97 kB / 449.4 MB, free: 18.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.2172, allocations: 335.9 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.2173, allocations: 33.89 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2174, allocations: 131 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2176, allocations: 94.83 kB / 450 MB, free: 18.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2176, allocations: 1.25 kB / 450 MB, free: 18.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002886/0.2179, allocations: 143.4 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2179, allocations: 6.031 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2179, allocations: 1.062 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.218, allocations: 2.469 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2181, allocations: 22.12 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2181, allocations: 5.344 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.2182, allocations: 16.88 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2182, allocations: 4.75 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.73e-05/0.2183, allocations: 133.1 kB / 450.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.2183, allocations: 21.69 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.2186, allocations: 162.8 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2187, allocations: 3.375 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2187, allocations: 2.609 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2187, allocations: 1.922 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.2188, allocations: 170.2 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2188, allocations: 2.062 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.2188, allocations: 10.38 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2188, allocations: 1.188 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2189, allocations: 2.453 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2189, allocations: 1.156 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2189, allocations: 3.438 kB / 450.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.2192, allocations: 194.4 kB / 450.9 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.2192, allocations: 19.12 kB / 450.9 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2192, allocations: 3.812 kB / 450.9 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.2193, allocations: 10.06 kB / 450.9 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.2194, allocations: 11.66 kB / 450.9 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.2194, allocations: 6.062 kB / 450.9 MB, free: 17.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.2195, allocations: 184.5 kB / 451.1 MB, free: 17.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2195, allocations: 4.969 kB / 451.1 MB, free: 17.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.2198, allocations: 54.34 kB / 451.2 MB, free: 17.36 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00189/0.2217, allocations: 0.5347 MB / 451.7 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.222, allocations: 93.42 kB / 451.8 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.222, allocations: 0 / 451.8 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2221, allocations: 43.39 kB / 451.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.2225, allocations: 68.3 kB / 451.9 MB, free: 17.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.223, allocations: 292.3 kB / 452.2 MB, free: 16.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.041e-05/0.223, allocations: 107.5 kB / 452.3 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.2231, allocations: 32.86 kB / 452.3 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.2232, allocations: 32.06 kB / 452.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2232, allocations: 0.625 kB / 452.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of Templates: time 0.007815/0.231, allocations: 3.401 MB / 455.8 MB, free: 16.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.012926533818245]