Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0008654/0.0008654, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002512/0.003378, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001373/0.001373, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.003149, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.08/1.08, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.17, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2931/0.2931, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02701/0.3201, allocations: 13.1 MB / 291.3 MB, free: 7.355 MB / 282.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.959e-05, allocations: 3.188 kB / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003003/0.003033, allocations: 1.765 MB / 294.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.005023, allocations: 1.002 MB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.005111, allocations: 0 / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.0054, allocations: 63.66 kB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.005699, allocations: 107.5 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.005899, allocations: 79.59 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.006117, allocations: 111.7 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.006173, allocations: 240 / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.006362, allocations: 91.69 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.006502, allocations: 39.89 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.006524, allocations: 4 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.006618, allocations: 31.98 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.00668, allocations: 19.92 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.006728, allocations: 11.94 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.006953, allocations: 83.62 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-05/0.006983, allocations: 4 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.006985, allocations: 4 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.007013, allocations: 0 / 296.1 MB, free: 2.781 MB / 282.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.0006794/0.007692, allocations: 325.1 kB / 296.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.007736, allocations: 8.031 kB / 296.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.00778, allocations: 12.94 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.00801, allocations: 146.3 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.008044, allocations: 384 / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.008058, allocations: 4.375 kB / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.008224, allocations: 57.77 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008236, allocations: 3.938 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.008245, allocations: 0 / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.008252, allocations: 0 / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.00829, allocations: 11.92 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.008413, allocations: 82.58 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.008518, allocations: 41.42 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.008542, allocations: 8.859 kB / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.008556, allocations: 4 kB / 296.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.008684, allocations: 58.22 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.008685, allocations: 3.938 kB / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001475/0.008833, allocations: 61.8 kB / 296.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.00887, allocations: 55.34 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.009016, allocations: 177.3 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.009035, allocations: 33.7 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.009073, allocations: 96.11 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.009106, allocations: 7.906 kB / 297.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.009152, allocations: 25.69 kB / 297.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.009273, allocations: 322.8 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.009296, allocations: 10.89 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.009328, allocations: 21.7 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.00938, allocations: 35.3 kB / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.009383, allocations: 0 / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.92e-05/0.009482, allocations: 68.44 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.009501, allocations: 8 kB / 297.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.009509, allocations: 0 / 297.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.009522, allocations: 0 / 297.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.009616, allocations: 15.94 kB / 297.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.009622, allocations: 3.984 kB / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.009658, allocations: 0 / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.009664, allocations: 4 kB / 297.8 MB, free: 0.9219 MB / 282.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.755e-05/0.009752, allocations: 116.7 kB / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.009769, allocations: 7.984 kB / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.009894, allocations: 66.8 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.0099, allocations: 0 / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.009906, allocations: 7.938 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.00991, allocations: 0 / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.01001, allocations: 81.86 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01001, allocations: 0 / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.01004, allocations: 8 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.01006, allocations: 11.89 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01006, allocations: 0 / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01007, allocations: 7.984 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.01008, allocations: 4.125 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01008, allocations: 7.938 kB / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.01018, allocations: 82.7 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.0102, allocations: 11.94 kB / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.01023, allocations: 0 / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.01026, allocations: 3.984 kB / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.01027, allocations: 4 kB / 298.2 MB, free: 464 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.01034, allocations: 59.58 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01034, allocations: 0 / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01051, allocations: 15.95 kB / 298.3 MB, free: 384 kB / 282.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.001904/0.01241, allocations: 0.5577 MB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.01251, allocations: 32.78 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.01252, allocations: 8 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.01256, allocations: 12.86 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.01274, allocations: 35.22 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.01336, allocations: 198.8 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.01341, allocations: 63.41 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.854e-05/0.01345, allocations: 16.48 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.01352, allocations: 63.36 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01352, allocations: 0 / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of Templates: time 0.004547/0.01807, allocations: 1.804 MB / 301.1 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.9851866345852613]