Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001068/0.001068, allocations: 83.58 kB / 21.19 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.001202/0.001202, allocations: 161 kB / 24.56 MB, free: 16 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.104/1.104, allocations: 177.1 MB / 205 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.251/0.251, allocations: 32.81 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.986e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002433/0.002463, allocations: 1.646 MB / 377.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.0038, allocations: 1.27 MB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.003862, allocations: 0 / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.0041, allocations: 27.78 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.004411, allocations: 91.48 kB / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.004624, allocations: 87.7 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004774, allocations: 75.75 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.004887, allocations: 11.94 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.709e-05/0.004954, allocations: 35.91 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.005061, allocations: 23.91 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.005079, allocations: 4 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.005228, allocations: 87.88 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.005286, allocations: 15.92 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.00532, allocations: 8 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.00568, allocations: 135.5 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.005684, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.005686, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.005692, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004889/0.006181, allocations: 436 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.006224, allocations: 12.03 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.006276, allocations: 8.891 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.00646, allocations: 132.5 kB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.006472, allocations: 384 / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.006506, allocations: 4.375 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.006684, allocations: 104 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.006694, allocations: 4.125 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.006707, allocations: 4.125 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006716, allocations: 3.984 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.006754, allocations: 12 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.007091, allocations: 287.7 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.007288, allocations: 39.06 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.007312, allocations: 19.77 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.007339, allocations: 3.938 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.007363, allocations: 33.39 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.007365, allocations: 0 / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003937/0.007759, allocations: 101.4 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.007801, allocations: 81.11 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.007935, allocations: 200.1 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.007947, allocations: 25.7 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.007999, allocations: 142.8 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.008025, allocations: 23.8 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.008061, allocations: 27.36 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.00818, allocations: 496.1 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.008202, allocations: 11.98 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.008242, allocations: 45.08 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.008288, allocations: 27.86 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008289, allocations: 0 / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.365e-05/0.008383, allocations: 61.64 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.008399, allocations: 8.031 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.008405, allocations: 0 / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.008422, allocations: 3.938 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.008481, allocations: 11.98 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.008488, allocations: 4 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.008511, allocations: 3.953 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.008518, allocations: 4 kB / 381.9 MB, free: 14.57 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 (5): * Single equations (assignments): 5 * 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.642e-05/0.008595, allocations: 160.6 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.008623, allocations: 11.89 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.008769, allocations: 62.16 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008771, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.008775, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.008781, allocations: 7.922 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.009048, allocations: 321.4 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.009051, allocations: 3.984 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.00909, allocations: 8 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009093, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.009101, allocations: 4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.009103, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009104, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.00923, allocations: 216 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.009249, allocations: 11.94 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.009264, allocations: 8.062 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.0093, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.009336, allocations: 7.984 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.009339, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.00941, allocations: 149 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00941, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.009632, allocations: 39.86 kB / 382.9 MB, free: 13.5 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 (5): * Single equations (assignments): 5 * 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.001181/0.01081, allocations: 492.6 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.01093, allocations: 27.62 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01093, allocations: 0 / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.01095, allocations: 19.67 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01119, allocations: 35.38 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.01156, allocations: 162.2 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.01161, allocations: 63.34 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.01166, allocations: 15.98 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.0117, allocations: 24.42 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0117, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.004101/0.0158, allocations: 1.821 MB / 385.5 MB, free: 10.99 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.4871483268216252]