Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001051/0.001051, 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.0009691/0.0009691, allocations: 165.8 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 1.116/1.116, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.302/0.302, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/3.013e-05, allocations: 6.25 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003776/0.003806, allocations: 1.711 MB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.005497, allocations: 0.9811 MB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.005626, allocations: 3.938 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.006028, allocations: 67.67 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.006428, allocations: 115.5 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.006731, allocations: 75.61 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.006941, allocations: 107.6 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.006994, allocations: 240 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.007112, allocations: 63.81 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.00722, allocations: 43.88 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.007237, allocations: 4 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.007326, allocations: 35.92 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.007379, allocations: 19.88 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.007417, allocations: 23.92 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.007606, allocations: 87.72 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007609, allocations: 0 / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00761, allocations: 3.938 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.007616, allocations: 0 / 381.9 MB, free: 14.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005241/0.00814, allocations: 439.9 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.008187, allocations: 8.031 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.00823, allocations: 16.84 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.008396, allocations: 153.1 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.008414, allocations: 4.312 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.008425, allocations: 8.359 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.008558, allocations: 50.95 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.008571, allocations: 3.938 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.008577, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.008584, allocations: 4 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.008615, allocations: 15.92 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.008757, allocations: 105.2 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/0.00885, allocations: 51.14 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.00887, allocations: 11.69 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.008889, allocations: 4 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.00899, allocations: 76.95 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.008991, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001663/0.009158, allocations: 81.52 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.009191, allocations: 55.41 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.009327, allocations: 230.3 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.009344, allocations: 25.7 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.009405, allocations: 146.9 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.009451, allocations: 23.81 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.009482, allocations: 23.38 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.009631, allocations: 0.5001 MB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.009647, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.009674, allocations: 31.3 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.009716, allocations: 31.38 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009718, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.99e-05/0.009798, allocations: 69.58 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.00981, allocations: 8 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.009815, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.009831, allocations: 4.281 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.009889, allocations: 15.98 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.009893, allocations: 4 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.009924, allocations: 7.953 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.00993, allocations: 4 kB / 384.1 MB, free: 12.55 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 8.334e-05/0.01001, allocations: 156.6 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.01003, allocations: 19.88 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.01014, allocations: 78.97 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.01015, allocations: 7.875 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01015, allocations: 0 / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01015, allocations: 8 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.402e-05/0.01025, allocations: 113.2 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01025, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.01026, allocations: 4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01027, allocations: 3.984 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01027, allocations: 8 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01028, allocations: 3.984 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01028, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.0104, allocations: 112.2 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01042, allocations: 15.94 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.01044, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.777e-05/0.01047, allocations: 8 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.0105, allocations: 3.984 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01051, allocations: 7.938 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.01059, allocations: 164.1 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.01072, allocations: 23.94 kB / 384.8 MB, free: 11.76 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.0008152/0.01154, allocations: 374.5 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.01164, allocations: 43.61 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01164, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.01167, allocations: 23.66 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.01185, allocations: 36.92 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.01218, allocations: 190.3 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.718e-05/0.01223, allocations: 75.2 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.01226, allocations: 8.5 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.01234, allocations: 90.19 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01234, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.00348/0.01582, allocations: 1.77 MB / 387.4 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.5194707908667624]