Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001298/0.001298, allocations: 80.31 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.001623/0.001623, allocations: 166.5 kB / 25.61 MB, free: 8.492 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.9312/0.9312, allocations: 177.1 MB / 206 MB, free: 4.504 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.1599/0.1599, allocations: 34.26 MB / 296.9 MB, free: 13.94 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.334e-05, allocations: 10.19 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00215/0.002173, allocations: 1.75 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.00362, allocations: 1.715 MB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.00371, allocations: 3.938 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.003977, allocations: 35.77 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.004283, allocations: 107.4 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.004464, allocations: 79.61 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004609, allocations: 111.6 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.004701, allocations: 11.98 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.00478, allocations: 55.89 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.004888, allocations: 31.84 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.004905, allocations: 8 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.005047, allocations: 103.8 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.005093, allocations: 23.91 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.005126, allocations: 23.92 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.005331, allocations: 159.4 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005334, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005335, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.005339, allocations: 0 / 383.6 MB, free: 19.09 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.000381/0.00572, allocations: 455.8 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.005753, allocations: 12.03 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.005793, allocations: 16.88 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.005934, allocations: 145 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.00595, allocations: 384 / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.005969, allocations: 8.375 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.006096, allocations: 111.3 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.006108, allocations: 0 / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.006117, allocations: 4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.006124, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.006153, allocations: 15.92 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.006389, allocations: 256.4 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.006481, allocations: 63.02 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.006501, allocations: 15.69 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.006513, allocations: 0 / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.396e-05/0.006597, allocations: 65.05 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.006599, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003074/0.006906, allocations: 145.4 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.006932, allocations: 77.11 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.007021, allocations: 216.7 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.007031, allocations: 29.7 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.007063, allocations: 146.8 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.007086, allocations: 23.84 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.007118, allocations: 31.36 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.007163, allocations: 0.4961 MB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.007179, allocations: 8 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.007209, allocations: 68.69 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.007247, allocations: 43.42 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007249, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.071e-05/0.007339, allocations: 93.59 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.007351, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007356, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.007365, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.007428, allocations: 16 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00743, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.007465, allocations: 15.88 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.007471, allocations: 4 kB / 386.1 MB, free: 16.3 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 5.919e-05/0.00753, allocations: 167.3 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.007548, allocations: 19.98 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.007667, allocations: 102.5 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.00767, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007671, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007675, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.007885, allocations: 361.6 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.007888, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.007916, allocations: 12 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.007919, allocations: 7.922 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.007925, allocations: 0 / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.007929, allocations: 12.02 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.007931, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008044, allocations: 255.4 kB / 387 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.008058, allocations: 7.953 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.008078, allocations: 4 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.008124, allocations: 4.375 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.008153, allocations: 7.984 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.008166, allocations: 8 kB / 387.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.008213, allocations: 154.4 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008213, allocations: 0 / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.008442, allocations: 55.8 kB / 387.3 MB, free: 15.08 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.001097/0.009539, allocations: 0.5403 MB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.009643, allocations: 47.59 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.009646, allocations: 4 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/0.009674, allocations: 27.61 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.009898, allocations: 31.11 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.01017, allocations: 211.6 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.647e-05/0.0102, allocations: 63.47 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.01025, allocations: 24.95 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.01032, allocations: 94.17 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01032, allocations: 4 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003993/0.01431, allocations: 2.797 MB / 391.1 MB, free: 11.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.1584428031928837]