Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001015/0.001015, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001078/0.001078, allocations: 165.8 kB / 24.99 MB, free: 8.336 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.9824/0.9824, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2657/0.2657, allocations: 34.27 MB / 296 MB, free: 0.7734 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.208e-05, allocations: 5.547 kB / 378.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002573/0.002605, allocations: 1.95 MB / 380.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003887, allocations: 1.044 MB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.004016, allocations: 7.938 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.004333, allocations: 47.64 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.004627, allocations: 103.4 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.004821, allocations: 95.62 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.005025, allocations: 155.5 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005133, allocations: 21.8 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.005232, allocations: 67.81 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.00532, allocations: 47.77 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.005338, allocations: 8 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.005424, allocations: 47.92 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.005481, allocations: 31.89 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.005531, allocations: 27.88 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.005742, allocations: 127.5 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005745, allocations: 0 / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005746, allocations: 0 / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.005751, allocations: 0 / 381.9 MB, free: 15.13 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005316/0.006282, allocations: 0.4974 MB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.006318, allocations: 12.03 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.006376, allocations: 24.78 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.006597, allocations: 177.1 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.006622, allocations: 12.36 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.006647, allocations: 4.375 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.006855, allocations: 143.6 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006865, allocations: 3.938 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.006879, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.006889, allocations: 4 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.006949, allocations: 35.91 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.007402, allocations: 0.5756 MB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.007603, allocations: 79.08 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.00764, allocations: 27.67 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.007653, allocations: 0 / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.007773, allocations: 102.7 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.007774, allocations: 0 / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002166/0.007991, allocations: 113.5 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.008019, allocations: 51.41 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.008171, allocations: 251.1 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.008187, allocations: 29.7 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.008267, allocations: 166.8 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.00829, allocations: 27.75 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.008335, allocations: 39.36 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.008472, allocations: 0.5 MB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.008509, allocations: 11.98 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.008556, allocations: 62.42 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/0.008637, allocations: 86.36 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.00864, allocations: 0 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001333/0.008773, allocations: 113.4 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.008786, allocations: 4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.008792, allocations: 4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.008804, allocations: 0 / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.008875, allocations: 31.98 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008881, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.008916, allocations: 12.05 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.008924, allocations: 8 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.371e-05/0.009008, allocations: 174.6 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.00903, allocations: 23.91 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.009192, allocations: 103.1 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.009195, allocations: 0 / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.009199, allocations: 0 / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009203, allocations: 4 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.00932, allocations: 164.5 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009321, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.009376, allocations: 15.98 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.009378, allocations: 4 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.009389, allocations: 0 / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.009391, allocations: 4 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.009393, allocations: 0 / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.009575, allocations: 164.8 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.009593, allocations: 19.83 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.009609, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.009638, allocations: 7.984 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.009677, allocations: 8 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.009692, allocations: 3.984 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.38e-05/0.009776, allocations: 175.1 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009776, allocations: 0 / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.009939, allocations: 31.98 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008782/0.01082, allocations: 388.4 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.01096, allocations: 59.59 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01097, allocations: 4 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/0.01101, allocations: 31.61 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.01123, allocations: 49.48 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.01163, allocations: 250 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.01167, allocations: 76.03 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.01172, allocations: 21.48 kB / 386.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01175, allocations: 20.48 kB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01175, allocations: 0 / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of Templates: time 0.004018/0.01577, allocations: 2.064 MB / 388.9 MB, free: 7.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.269908885937184]