Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001138/0.001138, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001196/0.001196, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 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.9598/0.9598, allocations: 177.1 MB / 205 MB, free: 5.285 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.2858/0.2858, allocations: 34.26 MB / 295.7 MB, free: 0.7266 MB / 266.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.287e-05, allocations: 5.547 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002973/0.003005, allocations: 1.762 MB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004542, allocations: 1.009 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.004624, allocations: 3.938 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.00494, allocations: 39.7 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.005269, allocations: 91.53 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.00545, allocations: 87.61 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.005619, allocations: 107.6 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.005719, allocations: 8 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.005811, allocations: 55.88 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.005884, allocations: 27.86 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.005901, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.005986, allocations: 47.91 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.006037, allocations: 15.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.006079, allocations: 19.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.006261, allocations: 99.59 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.006264, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.006266, allocations: 8 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00627, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.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.0004388/0.006709, allocations: 431.9 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.006745, allocations: 12.03 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.006793, allocations: 16.88 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.00695, allocations: 152.3 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.007232, allocations: 4.375 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.007253, allocations: 4.312 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.007372, allocations: 62.94 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007383, allocations: 3.938 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.007393, allocations: 8 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.007401, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.007436, allocations: 11.98 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.007727, allocations: 271.8 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.007833, allocations: 59.11 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.007865, allocations: 19.61 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.007877, allocations: 4 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.007978, allocations: 73 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.007981, allocations: 7.984 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003682/0.008349, allocations: 145.4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.008378, allocations: 59.41 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.008494, allocations: 214.5 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.008506, allocations: 29.7 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.008559, allocations: 146.9 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.008585, allocations: 27.78 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.008617, allocations: 27.38 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.008724, allocations: 0.5 MB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.008749, allocations: 11.98 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.008783, allocations: 39.36 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.008838, allocations: 51.38 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008839, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.861e-05/0.008938, allocations: 93.52 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008951, allocations: 4 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008955, allocations: 0 / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.008969, allocations: 4 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.009041, allocations: 16 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.009047, allocations: 7.875 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.009079, allocations: 12.02 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.009086, allocations: 0 / 384 MB, free: 12.46 MB / 362.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 7.382e-05/0.009159, allocations: 164.5 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.009174, allocations: 11.95 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.009323, allocations: 102.4 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009326, allocations: 4 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.009329, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.009333, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.009603, allocations: 388.9 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009605, allocations: 8.031 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.009631, allocations: 8 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009634, allocations: 0 / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.009645, allocations: 7.984 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.009647, allocations: 0 / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009649, allocations: 0 / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.009787, allocations: 259.4 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.009798, allocations: 7.953 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.009814, allocations: 384 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.009855, allocations: 4 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.00989, allocations: 11.98 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.009904, allocations: 8 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.009977, allocations: 167.9 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009977, allocations: 7.938 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.01016, allocations: 27.92 kB / 385.2 MB, free: 11.21 MB / 362.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.001354/0.01151, allocations: 435.9 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.01172, allocations: 59.58 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01172, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.01178, allocations: 23.81 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.01216, allocations: 47.05 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.01269, allocations: 210.3 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.01275, allocations: 63.34 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.0128, allocations: 12.97 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.01286, allocations: 20.5 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.01286, allocations: 0 / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.004207/0.01707, allocations: 1.999 MB / 388 MB, free: 8.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.235284578986466]