Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001531/0.001531, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001656/0.001656, allocations: 166.4 kB / 24.99 MB, free: 8.746 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 1.173/1.173, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2815/0.2815, allocations: 34.26 MB / 296 MB, free: 0.7852 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.586e-05, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002401/0.002427, allocations: 1.778 MB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003704, allocations: 1.025 MB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.003799, allocations: 0 / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.0041, allocations: 39.7 kB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.004477, allocations: 95.48 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.004744, allocations: 79.55 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.004973, allocations: 111.7 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005091, allocations: 11.98 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.005208, allocations: 63.77 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005316, allocations: 27.91 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.005337, allocations: 8 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.005579, allocations: 111.8 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.005649, allocations: 19.92 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.005705, allocations: 23.92 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.006103, allocations: 167.4 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.006108, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006109, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.006118, allocations: 0 / 381.7 MB, free: 15.33 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.0007546/0.006873, allocations: 459.7 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.00693, allocations: 12.03 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.314e-05/0.007023, allocations: 16.84 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.007293, allocations: 163.3 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.007321, allocations: 384 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.00735, allocations: 8.375 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.007545, allocations: 104 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.00756, allocations: 7.938 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.007571, allocations: 0 / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.007579, allocations: 0 / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.007625, allocations: 15.98 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.008051, allocations: 267.8 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.008216, allocations: 67.09 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.008249, allocations: 19.62 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.008267, allocations: 3.938 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.008409, allocations: 81.09 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.008411, allocations: 0 / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005374/0.008948, allocations: 173.5 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.009002, allocations: 81.11 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.009174, allocations: 213.9 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.009193, allocations: 29.7 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.009253, allocations: 142.9 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.009291, allocations: 43.69 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.009335, allocations: 31.36 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.009472, allocations: 0.5 MB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.009509, allocations: 12 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.009571, allocations: 76.73 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.009656, allocations: 67.3 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.009657, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.009809, allocations: 109.4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.009824, allocations: 8.062 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00983, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.009845, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.009941, allocations: 20 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.00995, allocations: 3.984 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.009991, allocations: 8 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.009997, allocations: 0 / 384.3 MB, free: 12.38 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 (13): * Single equations (assignments): 13 * 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 9.712e-05/0.01009, allocations: 168.5 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.01012, allocations: 15.91 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.0103, allocations: 110.4 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.01031, allocations: 8 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01031, allocations: 3.938 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01032, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.01071, allocations: 408.9 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01071, allocations: 0 / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.01075, allocations: 15.98 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01076, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01076, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01077, allocations: 4 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01077, allocations: 0 / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.01095, allocations: 271.4 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.01097, allocations: 11.94 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01099, allocations: 8 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.01104, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.01109, allocations: 11.92 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.01111, allocations: 8 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.01119, allocations: 158 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01119, allocations: 7.938 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01145, allocations: 51.86 kB / 385.6 MB, free: 11.05 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 (11): * Single equations (assignments): 9 * 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.001288/0.01274, allocations: 0.5437 MB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.01291, allocations: 63.59 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01292, allocations: 0 / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.01297, allocations: 35.67 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.01323, allocations: 39.3 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.0137, allocations: 229.8 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.01375, allocations: 71.33 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.01381, allocations: 28.75 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.01386, allocations: 24.48 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01386, allocations: 0 / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.005235/0.0191, allocations: 2.659 MB / 389.3 MB, free: 7.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.4708053411450237]