Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001482/0.001482, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001523/0.001523, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.632/1.632, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.5028/0.5028, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.701e-05, allocations: 5.688 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003334/0.003361, allocations: 1.723 MB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.005482, allocations: 0.9703 MB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.005558, allocations: 4 kB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.005862, allocations: 43.64 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.006186, allocations: 95.53 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.006428, allocations: 83.61 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.006621, allocations: 107.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.006705, allocations: 7.984 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.006847, allocations: 59.77 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.006923, allocations: 19.92 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.006942, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.007047, allocations: 43.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.007112, allocations: 27.91 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.007165, allocations: 19.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.0074, allocations: 111.6 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.007403, allocations: 4 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007404, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.007409, allocations: 4 kB / 380.7 MB, free: 15.54 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.0006183/0.008027, allocations: 341.5 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.008066, allocations: 8.031 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.008137, allocations: 16.89 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.00845, allocations: 149.5 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.008463, allocations: 384 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.008494, allocations: 4.375 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.008665, allocations: 54.23 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.008684, allocations: 11.92 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.008698, allocations: 4 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.008705, allocations: 4 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.485e-05/0.0088, allocations: 19.92 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.009216, allocations: 224.6 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.00941, allocations: 54.69 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.009487, allocations: 28.77 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.009501, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.009691, allocations: 75.33 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.009692, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006775/0.01037, allocations: 189.5 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.01042, allocations: 55.41 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.01069, allocations: 187.2 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.01071, allocations: 25.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.01081, allocations: 108.1 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.01085, allocations: 23.83 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.01089, allocations: 21.72 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.01109, allocations: 326.8 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.01116, allocations: 23.98 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.01124, allocations: 37.7 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.0114, allocations: 73.58 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.0114, allocations: 4 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002632/0.01166, allocations: 101.6 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.01168, allocations: 7.984 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01169, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.01171, allocations: 4 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.01181, allocations: 16.03 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01182, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.01188, allocations: 11.95 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01189, allocations: 3.984 kB / 382.9 MB, free: 13.18 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 0.0001361/0.01203, allocations: 125.7 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.01206, allocations: 19.89 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.01237, allocations: 115.1 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01237, allocations: 4 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.01238, allocations: 3.984 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01238, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/0.01297, allocations: 350.9 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01297, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.01302, allocations: 19.92 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01303, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01304, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.01305, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01305, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01338, allocations: 216.2 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.01343, allocations: 19.89 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.01345, allocations: 4.031 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.01353, allocations: 4 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.01358, allocations: 11.98 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.0136, allocations: 4 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.01376, allocations: 143.9 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01376, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01403, allocations: 20 kB / 383.9 MB, free: 12.06 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.002274/0.01631, allocations: 0.4914 MB / 384.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01653, allocations: 59.91 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01654, allocations: 0 / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.01663, allocations: 32.08 kB / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.01702, allocations: 36.05 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.01766, allocations: 229.6 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.01779, allocations: 96.3 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.104e-05/0.01785, allocations: 12.97 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.01791, allocations: 16.5 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01791, allocations: 0 / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Templates: time 0.006662/0.02457, allocations: 1.869 MB / 386.7 MB, free: 9.418 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.201205088989809]