Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001834/0.001834, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001047/0.001047, allocations: 174.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.923/0.923, allocations: 177.2 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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.147/0.147, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.7 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.547e-05, allocations: 6.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001772/0.001787, allocations: 1.746 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.002774, allocations: 0.9935 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.002831, allocations: 4 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.003049, allocations: 47.75 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.003248, allocations: 115.4 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.003365, allocations: 79.67 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.003473, allocations: 103.6 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.00354, allocations: 8 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.003604, allocations: 59.75 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.003657, allocations: 23.92 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.003669, allocations: 4 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.003727, allocations: 47.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.003767, allocations: 31.86 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.003794, allocations: 19.92 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003919, allocations: 111.6 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.00392, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003921, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003924, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.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.0002921/0.004216, allocations: 495.5 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.004242, allocations: 8.031 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.004271, allocations: 16.84 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.004372, allocations: 161.3 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.004383, allocations: 384 / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.004396, allocations: 8.359 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.254e-05/0.004469, allocations: 62.94 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.004478, allocations: 3.938 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004488, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.004494, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004517, allocations: 11.92 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.004684, allocations: 268.4 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/0.00475, allocations: 51.16 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.004766, allocations: 11.69 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.004773, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.004836, allocations: 84.91 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.32e-07/0.004837, allocations: 0 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002403/0.005077, allocations: 145.4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.459e-05/0.005092, allocations: 51.41 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.005181, allocations: 265.6 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.005188, allocations: 33.7 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.005223, allocations: 166.8 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.005241, allocations: 23.8 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.005266, allocations: 35.34 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.005307, allocations: 0.4962 MB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.005321, allocations: 15.98 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.005341, allocations: 31.36 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.005376, allocations: 51.36 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.005377, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.839e-05/0.005465, allocations: 89.48 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.005474, allocations: 7.938 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.005477, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.005486, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.005534, allocations: 24.02 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.005537, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.005562, allocations: 7.938 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.005566, allocations: 0 / 385.4 MB, free: 17.11 MB / 314.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 4.122e-05/0.005607, allocations: 168.5 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.005622, allocations: 19.84 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.005722, allocations: 103.1 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005724, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005726, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005729, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.00591, allocations: 377.6 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.00591, allocations: 0 / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.00593, allocations: 8 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005932, allocations: 7.938 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005937, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005938, allocations: 384 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005939, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.006019, allocations: 255.7 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.006029, allocations: 15.91 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.006044, allocations: 11.98 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.006082, allocations: 4.031 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.006101, allocations: 7.984 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.006109, allocations: 8 kB / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.733e-05/0.006156, allocations: 184.5 kB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006156, allocations: 0 / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.006314, allocations: 27.94 kB / 386.5 MB, free: 15.86 MB / 314.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.0008091/0.007123, allocations: 437.8 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.007199, allocations: 51.53 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.007199, allocations: 4.062 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.007225, allocations: 31.61 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.007433, allocations: 49.8 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.00767, allocations: 260.3 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.654e-05/0.007697, allocations: 79.19 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.007725, allocations: 12.98 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.007771, allocations: 86.19 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007772, allocations: 4.062 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of Templates: time 0.002955/0.01073, allocations: 2.086 MB / 389.6 MB, free: 12.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.067184755112976]