Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.0007617/0.0007617, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001819, allocations: 452 kB / 10.43 MB, free: 264 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.0007142/0.0007142, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009909/0.001705, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9116/0.9116, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1744/1.086, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.136/0.136, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02712/0.1631, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.976e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00185/0.00187, allocations: 1.739 MB / 269.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.002674, allocations: 0.7919 MB / 270 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.002726, allocations: 0 / 270 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.002919, allocations: 75.66 kB / 270.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003039, allocations: 67.62 kB / 270.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.003181, allocations: 87.69 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.003308, allocations: 99.64 kB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.00334, allocations: 0 / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.003451, allocations: 83.81 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.003529, allocations: 31.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.003545, allocations: 4 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.844e-05/0.003603, allocations: 35.86 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.003642, allocations: 11.94 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.003668, allocations: 15.94 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.003796, allocations: 83.67 kB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.003807, allocations: 4 kB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003808, allocations: 4 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.003816, allocations: 3.938 kB / 270.6 MB, free: 15.32 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.0003437/0.004159, allocations: 319.9 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.004189, allocations: 8.031 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.004215, allocations: 8.922 kB / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.004345, allocations: 141.6 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.004357, allocations: 384 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.004367, allocations: 4.375 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.00446, allocations: 57.77 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004466, allocations: 7.938 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004477, allocations: 3.984 kB / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.004481, allocations: 0 / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.004502, allocations: 11.92 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.865e-05/0.00458, allocations: 74.64 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.961e-05/0.00465, allocations: 37.42 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.004667, allocations: 8.859 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.004677, allocations: 4 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.11e-05/0.004759, allocations: 58.22 kB / 271.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.004759, allocations: 4 kB / 271.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001038/0.004863, allocations: 61.8 kB / 271.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.004895, allocations: 63.34 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.004987, allocations: 160.3 kB / 271.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005, allocations: 29.7 kB / 271.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.005024, allocations: 92.11 kB / 271.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.005052, allocations: 15.89 kB / 271.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.005077, allocations: 17.72 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.005151, allocations: 326.8 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.005169, allocations: 18.81 kB / 272.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.005189, allocations: 25.7 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.005227, allocations: 35.3 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005228, allocations: 0 / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.322e-05/0.005292, allocations: 64.44 kB / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005303, allocations: 4 kB / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.005306, allocations: 0 / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005317, allocations: 4 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.005373, allocations: 11.94 kB / 272.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005376, allocations: 0 / 272.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.0054, allocations: 8.031 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.005405, allocations: 3.984 kB / 272.3 MB, free: 13.48 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 5.95e-05/0.005465, allocations: 120.7 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.005474, allocations: 4 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.005565, allocations: 66.08 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005567, allocations: 0 / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005569, allocations: 3.938 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005572, allocations: 0 / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.587e-05/0.005648, allocations: 89.75 kB / 272.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005649, allocations: 0 / 272.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.005672, allocations: 12 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.005683, allocations: 7.953 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.005685, allocations: 4 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.00569, allocations: 0 / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005692, allocations: 4.125 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.005694, allocations: 3.938 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.005759, allocations: 82.7 kB / 272.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.005774, allocations: 8 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.005795, allocations: 3.984 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.005816, allocations: 4 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.005825, allocations: 4 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.005865, allocations: 56.39 kB / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005865, allocations: 0 / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001068/0.005972, allocations: 12 kB / 272.7 MB, free: 12.95 MB / 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.001049/0.007021, allocations: 0.5622 MB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.118e-05/0.007102, allocations: 28.84 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.007109, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.007141, allocations: 24.92 kB / 273.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.007329, allocations: 172.4 kB / 273.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.007728, allocations: 189.4 kB / 273.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.00776, allocations: 63.34 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.007789, allocations: 16.45 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.007848, allocations: 67.38 kB / 273.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007849, allocations: 0 / 273.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of Templates: time 0.003403/0.01125, allocations: 1.789 MB / 275.6 MB, free: 9.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7398672746494412]