Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.002199/0.002199, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001928/0.001928, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.601/1.601, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3948/0.3948, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.763e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003348/0.003375, allocations: 1.67 MB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.005665, allocations: 1.297 MB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.005737, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.006031, allocations: 27.72 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.006412, allocations: 83.56 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.00688, allocations: 183.4 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.007049, allocations: 75.77 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.007151, allocations: 15.98 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.007247, allocations: 39.91 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.007373, allocations: 31.89 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.007399, allocations: 8 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.00762, allocations: 99.75 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.007681, allocations: 11.98 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.00772, allocations: 19.92 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.008022, allocations: 159.4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.008025, allocations: 4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008027, allocations: 0 / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.008032, allocations: 4 kB / 381 MB, free: 15.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006491/0.008681, allocations: 431.7 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.008717, allocations: 8.031 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.008779, allocations: 12.89 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.009034, allocations: 158.3 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.009046, allocations: 384 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.009072, allocations: 4.375 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.009304, allocations: 103.2 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.009316, allocations: 4.188 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.00933, allocations: 4.125 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.009335, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.009467, allocations: 23.98 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.009994, allocations: 299.8 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.01013, allocations: 47.09 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.01021, allocations: 27.61 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.01024, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.01028, allocations: 37.39 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.01028, allocations: 4 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.00078/0.01106, allocations: 177.4 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.01113, allocations: 81.09 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01135, allocations: 208.1 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.01138, allocations: 29.7 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01148, allocations: 146.9 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.01152, allocations: 31.75 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.01158, allocations: 27.36 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.01185, allocations: 0.4923 MB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.01194, allocations: 19.98 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.01208, allocations: 81.05 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.01226, allocations: 59.59 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.01226, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002554/0.01251, allocations: 97.92 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01253, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.01253, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01255, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.01266, allocations: 19.98 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01266, allocations: 3.938 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.01272, allocations: 11.98 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01274, allocations: 7.984 kB / 383.6 MB, free: 12.34 MB / 362.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 0.0001304/0.01287, allocations: 160.5 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.01291, allocations: 19.89 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.01324, allocations: 102.4 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01324, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01324, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01324, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.01382, allocations: 377.3 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.01382, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.01391, allocations: 19.98 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01391, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01392, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01392, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.01392, allocations: 3.984 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.01429, allocations: 252.1 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.01431, allocations: 11.94 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.01434, allocations: 4 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.01442, allocations: 4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.01446, allocations: 3.984 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01447, allocations: 8 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.01461, allocations: 159.2 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01461, allocations: 0 / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.0149, allocations: 39.88 kB / 384.8 MB, free: 11.12 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: 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.003324/0.01823, allocations: 0.5339 MB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.01852, allocations: 67.58 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01852, allocations: 0 / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.01864, allocations: 43.67 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.01897, allocations: 27.22 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.01955, allocations: 213.1 kB / 385.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01966, allocations: 79.31 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.01977, allocations: 32.64 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.01982, allocations: 20.48 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01982, allocations: 0 / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.005957/0.02578, allocations: 2.001 MB / 387.8 MB, free: 8.289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.951277455082163]