Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001906/0.001906, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002524/0.002524, allocations: 161.6 kB / 24.27 MB, free: 172 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4278/0.4278, allocations: 32.79 MB / 293.9 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.556e-06/3.556e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.781e-05, allocations: 2.312 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.006699/0.006736, allocations: 1.734 MB / 377.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.01133, allocations: 0.9859 MB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.01146, allocations: 0 / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.01186, allocations: 39.72 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.01241, allocations: 99.47 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.01284, allocations: 79.59 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.01318, allocations: 111.7 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.01332, allocations: 11.94 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.01354, allocations: 59.77 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.0137, allocations: 35.89 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.01374, allocations: 4 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.01406, allocations: 111.8 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.01416, allocations: 19.91 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.01426, allocations: 23.92 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.01488, allocations: 183.4 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.01488, allocations: 3.938 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01488, allocations: 4 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.01489, allocations: 0 / 378.8 MB, free: 1.375 MB / 346.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.001104/0.01599, allocations: 349.5 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.01605, allocations: 8.031 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.01619, allocations: 20.83 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.01681, allocations: 164.4 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.01684, allocations: 384 / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.01689, allocations: 8.328 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.01726, allocations: 93.66 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.01728, allocations: 3.938 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.0173, allocations: 3.984 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.01731, allocations: 0 / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01746, allocations: 27.92 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.01803, allocations: 216.6 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.01842, allocations: 70.61 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.01855, allocations: 24.97 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.01859, allocations: 7.938 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.01888, allocations: 75.31 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.01889, allocations: 0 / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001183/0.02007, allocations: 209.4 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.02019, allocations: 77.11 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.02056, allocations: 178.1 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.02061, allocations: 29.7 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.02073, allocations: 100.1 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.0208, allocations: 27.81 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.0209, allocations: 29.7 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002922/0.02119, allocations: 326.8 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.02133, allocations: 27.98 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.02156, allocations: 91.94 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.02187, allocations: 73.7 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.02187, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005186/0.02239, allocations: 133.5 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.02242, allocations: 12 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.02243, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.02247, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.02267, allocations: 19.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.02268, allocations: 4 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.02279, allocations: 3.984 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.02281, allocations: 7.938 kB / 381.2 MB, free: 14.79 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 0.0002258/0.02304, allocations: 129.7 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.02311, allocations: 15.91 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.02365, allocations: 142.8 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.02365, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.02366, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.02366, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.02469, allocations: 378.8 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02469, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.02478, allocations: 16 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.02478, allocations: 0 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.0248, allocations: 3.984 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.02482, allocations: 11.92 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.02482, allocations: 8.016 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.02537, allocations: 228.2 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.02542, allocations: 15.94 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.02546, allocations: 0 / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.02562, allocations: 4 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.0257, allocations: 19.86 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.02573, allocations: 4 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.02596, allocations: 133.9 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02596, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006116/0.02657, allocations: 51.86 kB / 382.3 MB, free: 13.58 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.004223/0.0308, allocations: 0.597 MB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.03123, allocations: 71.91 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.03123, allocations: 0 / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.03141, allocations: 43.92 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.03214, allocations: 51.75 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/0.03314, allocations: 221.5 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.03332, allocations: 85.44 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.03347, allocations: 28.69 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.03359, allocations: 20.5 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03359, allocations: 0 / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Templates: time 0.01328/0.04687, allocations: 2.681 MB / 386.1 MB, free: 10.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.215950608020648]