Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001273/0.001273, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002621, 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.001214/0.001214, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.002922, 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.064/1.064, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.175, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2932/0.2932, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02469/0.3179, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.489e-05, allocations: 5.328 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003201/0.003226, allocations: 1.742 MB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.005108, allocations: 1.344 MB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.005172, allocations: 7.938 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.005319, allocations: 23.84 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.005579, allocations: 79.55 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.005991, allocations: 180.1 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.00616, allocations: 83.77 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.006268, allocations: 19.98 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.006386, allocations: 56.33 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.006501, allocations: 27.91 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.00652, allocations: 8 kB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.006726, allocations: 99.75 kB / 296.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.006778, allocations: 15.94 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.006806, allocations: 8 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.007043, allocations: 135.5 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-05/0.00706, allocations: 0 / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007061, allocations: 0 / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.007077, allocations: 4 kB / 296.5 MB, free: 2.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005092/0.007586, allocations: 329.1 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.007625, allocations: 8.031 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.007665, allocations: 8.938 kB / 296.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.00785, allocations: 129.6 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.00786, allocations: 384 / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.007881, allocations: 12.31 kB / 296.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.008034, allocations: 106.3 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.008044, allocations: 192 / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.008054, allocations: 8.125 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.00806, allocations: 4 kB / 297.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.008094, allocations: 7.984 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.008375, allocations: 183 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.008447, allocations: 26.58 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.008469, allocations: 12.94 kB / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.008491, allocations: 0 / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.00852, allocations: 42.5 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.008521, allocations: 0 / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003919/0.008913, allocations: 109.6 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.008948, allocations: 55.41 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.009061, allocations: 136.4 kB / 297.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.009074, allocations: 25.7 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.009122, allocations: 104 kB / 297.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.009145, allocations: 15.86 kB / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.009186, allocations: 25.64 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.009283, allocations: 326.8 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.009301, allocations: 4 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.009e-05/0.009341, allocations: 43.42 kB / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.009398, allocations: 35.69 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009399, allocations: 0 / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.115e-05/0.00949, allocations: 57.61 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.009503, allocations: 4 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.009507, allocations: 0 / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.009517, allocations: 0 / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.009619, allocations: 23.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.009622, allocations: 0 / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.009661, allocations: 11.98 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.009668, allocations: 0 / 298.3 MB, free: 460 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.292e-05/0.009741, allocations: 116.7 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.009773, allocations: 15.88 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.009899, allocations: 66.38 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009901, allocations: 4 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.009902, allocations: 3.938 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.009905, allocations: 0 / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.01021, allocations: 231.1 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01021, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.01028, allocations: 19.98 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01029, allocations: 7.953 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01029, allocations: 4.281 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.0103, allocations: 0 / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0103, allocations: 0 / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.0103, allocations: 3.938 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.01043, allocations: 163.4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01044, allocations: 0 / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.01051, allocations: 7.984 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.01054, allocations: 7.984 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.01055, allocations: 4 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.01059, allocations: 31.48 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01059, allocations: 0 / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.01086, allocations: 47.86 kB / 299 MB, free: 15.67 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002289/0.01315, allocations: 0.6814 MB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.01327, allocations: 40.75 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.01327, allocations: 4 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.01331, allocations: 16.86 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01355, allocations: 43.06 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006036/0.01415, allocations: 214.4 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.0142, allocations: 63.34 kB / 300.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.662e-05/0.01427, allocations: 16.7 kB / 300.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/0.01436, allocations: 67.36 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01436, allocations: 0 / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004831/0.01919, allocations: 2.186 MB / 302.3 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.0715219592675567]