Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001843/0.001843, allocations: 92.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.002194/0.002194, allocations: 161.7 kB / 24.27 MB, free: 176 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.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3689/0.3689, allocations: 32.8 MB / 293.9 MB, free: 1.191 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.038e-05, allocations: 5.828 kB / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003579/0.003609, allocations: 1.719 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.005735, allocations: 0.9742 MB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.00583, allocations: 0 / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.006154, allocations: 39.77 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.006571, allocations: 99.47 kB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.006859, allocations: 87.59 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.007083, allocations: 99.64 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.007177, allocations: 7.984 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.007303, allocations: 55.83 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.007393, allocations: 27.91 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.007416, allocations: 4 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.00754, allocations: 47.91 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.007605, allocations: 19.94 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.007664, allocations: 23.86 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.00795, allocations: 115.6 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007954, allocations: 4 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007955, allocations: 4 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.007961, allocations: 0 / 378.7 MB, free: 1.539 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.0006166/0.008577, allocations: 341.6 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.008614, allocations: 8.031 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.008685, allocations: 20.83 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.009002, allocations: 146.3 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.00902, allocations: 8.312 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.009045, allocations: 4.375 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.009233, allocations: 58.23 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.009246, allocations: 7.938 kB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.00926, allocations: 3.984 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.009265, allocations: 3.938 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.009358, allocations: 19.98 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.009822, allocations: 236.5 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.01003, allocations: 62.59 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.01009, allocations: 24.78 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.01011, allocations: 0 / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.01028, allocations: 71.39 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01028, allocations: 0 / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000656/0.01094, allocations: 177.4 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.01099, allocations: 55.41 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01126, allocations: 203.5 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.01129, allocations: 29.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.01137, allocations: 108 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.01141, allocations: 27.78 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.01147, allocations: 29.66 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.01165, allocations: 322.8 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.01173, allocations: 27.98 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.01203, allocations: 37.7 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.01217, allocations: 57.64 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01217, allocations: 0 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002312/0.0124, allocations: 109.6 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01242, allocations: 4 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01243, allocations: 3.984 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.01244, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.01254, allocations: 20.41 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.01254, allocations: 3.938 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.0126, allocations: 8 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01261, allocations: 3.984 kB / 380.9 MB, free: 15.14 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.0001315/0.01275, allocations: 129.8 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.01278, allocations: 15.91 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.01307, allocations: 123.2 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.01307, allocations: 3.984 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01307, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01308, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.01362, allocations: 354.9 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01362, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.01366, allocations: 15.92 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01367, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01368, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01368, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01368, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.014, allocations: 220.2 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.01402, allocations: 11.91 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.01405, allocations: 4.031 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.01413, allocations: 8 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.01417, allocations: 7.984 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01418, allocations: 0 / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.01435, allocations: 159.1 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01435, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000284/0.01464, allocations: 23.94 kB / 381.9 MB, free: 14.01 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.00226/0.0169, allocations: 0.4887 MB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.0171, allocations: 63.84 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0171, allocations: 0 / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.01718, allocations: 24 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.01757, allocations: 38.47 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.0181, allocations: 241.7 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.01821, allocations: 92.3 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.366e-05/0.01827, allocations: 21.27 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.01832, allocations: 16.5 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01832, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005643/0.02396, allocations: 1.871 MB / 384.8 MB, free: 11.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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: 4.908264278084971]