Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001058/0.001058, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001142/0.001142, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9748/0.9748, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2317/0.2317, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.566e-05, allocations: 2.312 kB / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002045/0.00206, allocations: 1.711 MB / 378.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003116, allocations: 0.978 MB / 379.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.003179, allocations: 0 / 379.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.003444, allocations: 87.62 kB / 379.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.003704, allocations: 123.4 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.003853, allocations: 79.66 kB / 379.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.004129, allocations: 111.6 kB / 379.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.004178, allocations: 240 / 379.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.004288, allocations: 59.81 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004393, allocations: 55.88 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004409, allocations: 4 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.004497, allocations: 39.86 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.004544, allocations: 19.92 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.004582, allocations: 27.86 kB / 379.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004753, allocations: 95.67 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004757, allocations: 0 / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004758, allocations: 0 / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.004762, allocations: 0 / 379.9 MB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000412/0.005174, allocations: 447.8 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.00521, allocations: 8.031 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.005245, allocations: 12.89 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.005389, allocations: 160.3 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005404, allocations: 384 / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.005411, allocations: 4.375 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.005511, allocations: 54.94 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005519, allocations: 7.938 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.005525, allocations: 0 / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.00553, allocations: 0 / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.005552, allocations: 15.91 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005678, allocations: 117.4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.005764, allocations: 46.95 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.005784, allocations: 15.67 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.005798, allocations: 4 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.092e-05/0.005889, allocations: 77 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.00589, allocations: 0 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001493/0.006039, allocations: 81.5 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.006067, allocations: 51.41 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.006188, allocations: 238.7 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.0062, allocations: 25.7 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.006253, allocations: 162.8 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.006281, allocations: 15.84 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.006311, allocations: 23.38 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.006425, allocations: 0.504 MB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.006441, allocations: 8 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.006464, allocations: 23.38 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.006505, allocations: 43.28 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006507, allocations: 0 / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.469e-05/0.006592, allocations: 69.59 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.006602, allocations: 4 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.006607, allocations: 0 / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.006621, allocations: 3.938 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.006689, allocations: 11.94 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006692, allocations: 8.031 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.00672, allocations: 3.984 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.006728, allocations: 8 kB / 382.2 MB, free: 14.45 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 (7): * Single equations (assignments): 7 * 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 6.969e-05/0.006798, allocations: 156.6 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.006814, allocations: 11.91 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.006926, allocations: 78.83 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006929, allocations: 7.938 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.006931, allocations: 384 / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006934, allocations: 3.938 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.261e-05/0.007027, allocations: 129.2 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007028, allocations: 4 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.007049, allocations: 4 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007051, allocations: 3.938 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.007056, allocations: 0 / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007057, allocations: 0 / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007058, allocations: 0 / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.278e-05/0.007151, allocations: 120.3 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.007164, allocations: 11.89 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.007177, allocations: 0 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.007202, allocations: 11.98 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.007222, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.007234, allocations: 11.94 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.007303, allocations: 177 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007303, allocations: 0 / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.007445, allocations: 20 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008012/0.008247, allocations: 379.4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.899e-05/0.008346, allocations: 35.67 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.008348, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.008378, allocations: 23.61 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.008572, allocations: 42.97 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.008873, allocations: 216.8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.687e-05/0.00891, allocations: 63.34 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.008943, allocations: 16.55 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.009008, allocations: 90.19 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009009, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003373/0.01238, allocations: 1.795 MB / 385.5 MB, free: 11.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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: 2.932105083949864]