Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0009619/0.0009619, 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.001034/0.001034, allocations: 165.9 kB / 25.61 MB, free: 8.906 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.8938/0.8938, allocations: 177.1 MB / 206 MB, free: 4.496 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.1341/0.1341, allocations: 34.26 MB / 296.8 MB, free: 13.93 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 3.938 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.963e-05, allocations: 5.547 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.006266/0.006286, allocations: 1.685 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.007471, allocations: 1.309 MB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.007535, allocations: 0 / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.007732, allocations: 19.8 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.007985, allocations: 87.55 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.00829, allocations: 179.4 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.008414, allocations: 87.69 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.008497, allocations: 11.98 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.008553, allocations: 43.89 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.01166, allocations: 27.91 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.01167, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.01181, allocations: 87.89 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.01186, allocations: 19.91 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.01188, allocations: 23.92 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.01207, allocations: 147.4 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01207, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01207, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.01207, allocations: 0 / 383 MB, free: 19.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003184/0.01239, allocations: 432 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.01242, allocations: 8.031 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.01246, allocations: 16.83 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.01258, allocations: 146.6 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.01258, allocations: 384 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.0126, allocations: 12.38 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.01271, allocations: 108 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.01272, allocations: 192 / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.01272, allocations: 8.062 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01273, allocations: 0 / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.01276, allocations: 15.92 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.01297, allocations: 268.4 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.01303, allocations: 31.06 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.01305, allocations: 15.69 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.01306, allocations: 8.078 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.01308, allocations: 49.27 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.01308, allocations: 0 / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003105/0.01339, allocations: 117.4 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.01341, allocations: 77.11 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.01349, allocations: 197.9 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.0135, allocations: 25.7 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.01353, allocations: 146.8 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.01355, allocations: 23.78 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.01358, allocations: 27.38 kB / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.01362, allocations: 0.4962 MB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.01364, allocations: 8 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.01367, allocations: 53.06 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.01371, allocations: 23.69 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.01371, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.304e-05/0.01379, allocations: 73.5 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.0138, allocations: 9.562 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.01381, allocations: 3.984 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.01381, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.01388, allocations: 12 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.01388, allocations: 4.031 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.01391, allocations: 11.98 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.01392, allocations: 4 kB / 385.4 MB, free: 17.01 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 (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 4.015e-05/0.01396, allocations: 152.6 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.01399, allocations: 19.89 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.0141, allocations: 74.97 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.0141, allocations: 4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.0141, allocations: 3.984 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.0141, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.01432, allocations: 330 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01432, allocations: 4 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.01436, allocations: 19.92 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01437, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.01437, allocations: 4 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.01437, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01437, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.01747, allocations: 219.8 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.01748, allocations: 7.938 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.0175, allocations: 4 kB / 386.2 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.01756, allocations: 8 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.01758, allocations: 7.984 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.01759, allocations: 4 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.01763, allocations: 143.1 kB / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01763, allocations: 7.938 kB / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.01789, allocations: 35.88 kB / 386.4 MB, free: 15.91 MB / 314.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.001068/0.01896, allocations: 0.4907 MB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.01905, allocations: 27.67 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01905, allocations: 4 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.01908, allocations: 31.61 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01933, allocations: 22.77 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.0196, allocations: 194.7 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.798e-05/0.01963, allocations: 75.19 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.01968, allocations: 9.047 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.01974, allocations: 98.17 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01974, allocations: 0 / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.0098/0.02954, allocations: 2.239 MB / 389.6 MB, free: 12.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.042136242147535]