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.001832/0.001832, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001927/0.001927, allocations: 161.6 kB / 24.27 MB, free: 156 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.64/1.64, allocations: 177.1 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.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.3924/0.3924, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.483e-06/1.483e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.68e-05/3.828e-05, allocations: 5.547 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003321/0.003359, allocations: 1.607 MB / 376.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.005567, allocations: 1.251 MB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.005627, allocations: 4 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.00588, allocations: 27.78 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.006249, allocations: 83.56 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.006525, allocations: 91.62 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.006704, allocations: 75.7 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.006804, allocations: 11.98 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.006892, allocations: 31.91 kB / 378.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.00702, allocations: 23.91 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.007045, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.007241, allocations: 95.88 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.007295, allocations: 11.94 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.007333, allocations: 11.98 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.007628, allocations: 151.5 kB / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.007634, allocations: 0 / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007635, allocations: 0 / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.00764, allocations: 0 / 378.8 MB, free: 1.477 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.0006273/0.008268, allocations: 427.7 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.008308, allocations: 8.031 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.008364, allocations: 8.891 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.008597, allocations: 144.4 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.00861, allocations: 8.375 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.008631, allocations: 4.375 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.00882, allocations: 87.33 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.008833, allocations: 192 / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.008848, allocations: 8.125 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.008853, allocations: 0 / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.008939, allocations: 15.98 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.009379, allocations: 287.7 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.009613, allocations: 47.05 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.009671, allocations: 27.77 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.009692, allocations: 3.938 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.009728, allocations: 37.39 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.009729, allocations: 0 / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005637/0.01029, allocations: 129.7 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.01037, allocations: 81.09 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.0106, allocations: 213.8 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01063, allocations: 29.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01074, allocations: 146.8 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.01077, allocations: 15.91 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.01082, allocations: 23.38 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.01111, allocations: 0.4923 MB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.01117, allocations: 16 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.439e-05/0.01126, allocations: 61.06 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.01137, allocations: 43.67 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.01137, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000178/0.01155, allocations: 81.75 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01157, allocations: 13.69 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01157, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01159, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.01165, allocations: 11.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01166, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.0117, allocations: 7.938 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.0117, allocations: 0 / 381.2 MB, free: 14.79 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 0.0001326/0.01183, allocations: 160.6 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01187, allocations: 19.83 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.01213, allocations: 90.08 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01213, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01214, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01214, allocations: 3.938 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.01264, allocations: 345.4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01264, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.01269, allocations: 8 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01269, allocations: 4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.0127, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.0127, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0127, allocations: 4 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.01324, allocations: 231.8 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.01326, allocations: 7.938 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.01328, allocations: 4.25 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.01335, allocations: 8 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.01339, allocations: 4 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.01339, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.01352, allocations: 155.2 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01352, allocations: 0 / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000295/0.01381, allocations: 39.86 kB / 382.3 MB, free: 13.65 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.003311/0.01713, allocations: 0.5298 MB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.01734, allocations: 51.59 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01735, allocations: 0 / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.01742, allocations: 31.67 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01774, allocations: 23.92 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.01822, allocations: 173.9 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.79e-05/0.01831, allocations: 79.33 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.043e-05/0.01837, allocations: 11.98 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.01842, allocations: 16.44 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01842, allocations: 0 / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of Templates: time 0.005664/0.02408, allocations: 1.831 MB / 385 MB, free: 11.08 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.968297429964878]