Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.0009953/0.0009953, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001058/0.001058, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 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.8731/0.8731, allocations: 177.1 MB / 206 MB, free: 4.5 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.1329/0.1329, allocations: 34.26 MB / 296.8 MB, free: 13.94 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.11e-07/9.11e-07, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.855e-06/8.766e-06, allocations: 6.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00184/0.001849, allocations: 1.673 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.00549, allocations: 0.5336 MB / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.005527, allocations: 4 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.005678, allocations: 95.67 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.005853, allocations: 115.5 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.006017, allocations: 95.62 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.006117, allocations: 99.73 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.006172, allocations: 19.98 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.006221, allocations: 55.81 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.006281, allocations: 59.86 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.006291, allocations: 4 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.006355, allocations: 47.92 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.006382, allocations: 27.91 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.006401, allocations: 23.86 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.006511, allocations: 103.6 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.006512, allocations: 3.938 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006513, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.006515, allocations: 4 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002162/0.006732, allocations: 471.7 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.049e-05/0.006752, allocations: 8.031 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.00678, allocations: 16.84 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.006864, allocations: 148.4 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.006871, allocations: 8.375 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.006883, allocations: 4.375 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.398e-05/0.006947, allocations: 66.88 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.006952, allocations: 192 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.006958, allocations: 8.125 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.006961, allocations: 4 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.006991, allocations: 23.91 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.007162, allocations: 292.2 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.007213, allocations: 66.95 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.007228, allocations: 15.62 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.007239, allocations: 7.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.007e-06/0.007248, allocations: 33.39 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 6.82e-07/0.007249, allocations: 0 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004225/0.007671, allocations: 217.4 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.007689, allocations: 51.41 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.01079, allocations: 248 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.0108, allocations: 29.7 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.01084, allocations: 162.8 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.01086, allocations: 39.64 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.01089, allocations: 31.36 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.01094, allocations: 0.5078 MB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.01096, allocations: 11.98 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.01098, allocations: 15.98 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.01103, allocations: 54.67 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.01103, allocations: 3.938 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.509e-05/0.01112, allocations: 93.58 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.01113, allocations: 4 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.01113, allocations: 0 / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-06/0.01114, allocations: 4.109 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.01121, allocations: 27.92 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-06/0.01121, allocations: 0 / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.01124, allocations: 11.94 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.01124, allocations: 4 kB / 384.9 MB, free: 17.57 MB / 314.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 (13): * Single equations (assignments): 13 * 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 4.14e-05/0.01128, allocations: 176.4 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.01131, allocations: 15.91 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.01144, allocations: 115.8 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01145, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01145, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.01145, allocations: 3.984 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.01172, allocations: 389.5 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01172, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.01178, allocations: 23.98 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01178, allocations: 4.031 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.01179, allocations: 3.984 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01179, allocations: 4 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01179, allocations: 3.938 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.01189, allocations: 270.8 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.0119, allocations: 7.953 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.01192, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.01197, allocations: 8 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.01199, allocations: 11.92 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.012, allocations: 4 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.01205, allocations: 177 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01205, allocations: 4 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.01227, allocations: 23.94 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009014/0.01318, allocations: 447.4 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.01325, allocations: 55.59 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.01325, allocations: 0 / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.01329, allocations: 47.58 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01352, allocations: 22.78 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.01643, allocations: 270.7 kB / 387 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.461e-05/0.01645, allocations: 83.19 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.221e-05/0.01649, allocations: 12.48 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.01653, allocations: 86.19 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01653, allocations: 4 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of Templates: time 0.002843/0.01937, allocations: 1.747 MB / 388.9 MB, free: 13.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.8846942000091076]