Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001096/0.001096, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001663/0.001663, allocations: 165 kB / 24.56 MB, free: 12 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 0.9699/0.9699, allocations: 177.1 MB / 205 MB, free: 5.637 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.2583/0.2583, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.966e-05, allocations: 6.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003004/0.003023, allocations: 1.72 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.004158, allocations: 0.5764 MB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.004236, allocations: 7.938 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.004883, allocations: 451.1 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.005413, allocations: 299.1 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.00586, allocations: 179.5 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.006147, allocations: 183.6 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.006259, allocations: 12.23 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.00642, allocations: 135.6 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.006683, allocations: 247.6 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.006708, allocations: 4 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.006823, allocations: 51.91 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.006928, allocations: 83.72 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.006985, allocations: 47.72 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.007294, allocations: 219 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.007297, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.007298, allocations: 4 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.007303, allocations: 0 / 382.2 MB, free: 14.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007672/0.008071, allocations: 0.7048 MB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.008115, allocations: 12.03 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.008198, allocations: 48.61 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.008445, allocations: 248.8 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.008459, allocations: 4.375 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.008489, allocations: 16.3 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.008644, allocations: 62.94 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.008655, allocations: 192 / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008668, allocations: 8.125 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.008677, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.008726, allocations: 11.98 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.009209, allocations: 443.6 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.009378, allocations: 54.92 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.009404, allocations: 15.81 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.00942, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.00944, allocations: 41.42 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.009442, allocations: 0 / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006286/0.01007, allocations: 328.9 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.0101, allocations: 51.41 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.01076, allocations: 0.6393 MB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01077, allocations: 25.7 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.01091, allocations: 286.8 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.01095, allocations: 35.69 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.01098, allocations: 35.38 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01114, allocations: 0.5586 MB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.01117, allocations: 15.98 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.01119, allocations: 15.94 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.01126, allocations: 55.61 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01126, allocations: 0 / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001224/0.01138, allocations: 121.7 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01139, allocations: 5.719 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.0114, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01141, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.01148, allocations: 35.92 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01148, allocations: 3.984 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.01152, allocations: 4 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01152, allocations: 4 kB / 386.1 MB, free: 10.35 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 (11): * Single equations (assignments): 11 * 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.579e-05/0.0116, allocations: 164.5 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.01164, allocations: 47.72 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.0118, allocations: 137.6 kB / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.0118, allocations: 0 / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.0118, allocations: 0 / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01181, allocations: 0 / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.01221, allocations: 0.5512 MB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01221, allocations: 4 kB / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.01226, allocations: 23.92 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.01227, allocations: 4 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01227, allocations: 4 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01228, allocations: 4.125 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.01228, allocations: 8 kB / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.01245, allocations: 290.9 kB / 387.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.01247, allocations: 39.67 kB / 387.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01249, allocations: 12.05 kB / 387.4 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.01254, allocations: 11.94 kB / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.01258, allocations: 7.984 kB / 387.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01258, allocations: 4 kB / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002431/0.01283, allocations: 430.8 kB / 387.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01283, allocations: 0 / 387.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01301, allocations: 31.94 kB / 387.8 MB, free: 8.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008761/0.01389, allocations: 430.1 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01401, allocations: 67.53 kB / 388.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01401, allocations: 0 / 388.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.01405, allocations: 39.61 kB / 388.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.01428, allocations: 30.3 kB / 388.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.0149, allocations: 0.6507 MB / 389.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.756e-05/0.01497, allocations: 127.2 kB / 389.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.01502, allocations: 28.45 kB / 389.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.01506, allocations: 20.5 kB / 389.2 MB, free: 7.219 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01506, allocations: 0 / 389.2 MB, free: 7.219 MB / 362.7 MB Notification: Performance of Templates: time 0.004283/0.01934, allocations: 1.958 MB / 391.2 MB, free: 5.277 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.178752677049488]