Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.001027/0.001027, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001066/0.001066, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1425/0.1425, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.397e-05, allocations: 8.219 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002681/0.002715, allocations: 1.595 MB / 349.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.003352, allocations: 323.4 kB / 349.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.003434, allocations: 4 kB / 349.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.003701, allocations: 23.86 kB / 349.6 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003939, allocations: 47.7 kB / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.004339, allocations: 79.81 kB / 349.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.004509, allocations: 63.77 kB / 349.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.00465, allocations: 11.94 kB / 349.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.004716, allocations: 19.92 kB / 349.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.004783, allocations: 19.97 kB / 349.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.00481, allocations: 11.94 kB / 349.9 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.004903, allocations: 23.98 kB / 349.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.004958, allocations: 8 kB / 349.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.004995, allocations: 15.92 kB / 349.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.005196, allocations: 67.69 kB / 350 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.005204, allocations: 3.984 kB / 350 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.005207, allocations: 0 / 350 MB, free: 7.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.005215, allocations: 0 / 350 MB, free: 7.445 MB / 282.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.0004614/0.005676, allocations: 400.2 kB / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.005723, allocations: 8.031 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.005789, allocations: 16.89 kB / 350.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005961, allocations: 120.6 kB / 350.5 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.005979, allocations: 8.375 kB / 350.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.006008, allocations: 4.312 kB / 350.5 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.006172, allocations: 58.89 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.006187, allocations: 4.172 kB / 350.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.0062, allocations: 4.125 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.006213, allocations: 0 / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.00625, allocations: 8 kB / 350.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.006626, allocations: 271.7 kB / 350.9 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.006868, allocations: 54.98 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.006898, allocations: 7.688 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.006928, allocations: 3.938 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.006958, allocations: 41.39 kB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.00696, allocations: 0 / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005175/0.007478, allocations: 89.61 kB / 351.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.00751, allocations: 51.41 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.007612, allocations: 192.2 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.00762, allocations: 25.7 kB / 351.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.007662, allocations: 150.8 kB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.007687, allocations: 19.84 kB / 351.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.007722, allocations: 23.38 kB / 351.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.751e-05/0.00778, allocations: 0.4884 MB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.007798, allocations: 4 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.007814, allocations: 7.984 kB / 352 MB, free: 5.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.007856, allocations: 35.81 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007858, allocations: 0 / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.396e-05/0.007952, allocations: 61.58 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.007971, allocations: 4 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.007978, allocations: 0 / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.007996, allocations: 0 / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.008054, allocations: 12 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.008061, allocations: 4 kB / 352.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.008081, allocations: 0 / 352.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.008088, allocations: 7.984 kB / 352.1 MB, free: 5.086 MB / 282.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 5.939e-05/0.008147, allocations: 156.6 kB / 352.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.008168, allocations: 16.11 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.008294, allocations: 62.16 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.0083, allocations: 11.92 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.008305, allocations: 3.984 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008309, allocations: 4 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.00853, allocations: 313.4 kB / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008531, allocations: 0 / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.00857, allocations: 8 kB / 352.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008573, allocations: 0 / 352.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008581, allocations: 4 kB / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008583, allocations: 192 / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.008585, allocations: 3.984 kB / 352.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.008683, allocations: 207.8 kB / 352.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.008693, allocations: 11.94 kB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.008709, allocations: 4 kB / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.00874, allocations: 4 kB / 352.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.008789, allocations: 7.984 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.008793, allocations: 3.938 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.00884, allocations: 144.2 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00884, allocations: 0 / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.009027, allocations: 15.94 kB / 353.1 MB, free: 4.047 MB / 282.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.001025/0.01005, allocations: 372.4 kB / 353.5 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.0102, allocations: 27.67 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0102, allocations: 0 / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.01023, allocations: 23.62 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01051, allocations: 25.11 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.01094, allocations: 166 kB / 353.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01098, allocations: 67.33 kB / 353.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.782e-05/0.01103, allocations: 11.97 kB / 353.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.01107, allocations: 12.5 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01107, allocations: 0 / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of Templates: time 0.003212/0.01428, allocations: 1.15 MB / 354.9 MB, free: 2.246 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.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.29342104610987]