Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.002521/0.002521, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002078/0.002078, allocations: 165.3 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.35/0.35, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.884e-05/4.138e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004302/0.004344, allocations: 1.662 MB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.005992, allocations: 0.5647 MB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.006073, allocations: 4 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.006988, allocations: 447 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.007747, allocations: 303.1 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.008389, allocations: 167.6 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.008775, allocations: 187.5 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.00889, allocations: 12 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.009127, allocations: 119.8 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.009562, allocations: 243.6 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.009596, allocations: 0 / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.009744, allocations: 35.88 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.00991, allocations: 91.69 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.009991, allocations: 39.75 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.01052, allocations: 239.1 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01052, allocations: 0 / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01052, allocations: 0 / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.01053, allocations: 4 kB / 381.4 MB, free: 14.83 MB / 362.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.001278/0.01181, allocations: 0.7084 MB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.01185, allocations: 8.031 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01198, allocations: 48.59 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.01245, allocations: 248.8 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.01247, allocations: 8.375 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.01249, allocations: 4.375 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.01269, allocations: 50.23 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.0127, allocations: 192 / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.01272, allocations: 4.125 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.01273, allocations: 4 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.01286, allocations: 19.98 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.01382, allocations: 467.6 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.01416, allocations: 50.98 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.01424, allocations: 11.69 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01426, allocations: 4 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.01431, allocations: 49.27 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.01431, allocations: 0 / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009317/0.01524, allocations: 216.8 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.01532, allocations: 51.41 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.01655, allocations: 0.6784 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.01658, allocations: 25.7 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.01699, allocations: 298.8 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.01704, allocations: 19.91 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.01712, allocations: 31.36 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005198/0.01764, allocations: 0.5665 MB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.01774, allocations: 11.98 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.01782, allocations: 16 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.01801, allocations: 43.8 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.01802, allocations: 4 kB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003434/0.01836, allocations: 117.3 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.01838, allocations: 4 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01839, allocations: 0 / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.01841, allocations: 4 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.0185, allocations: 11.98 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01851, allocations: 0 / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.01859, allocations: 8 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.0186, allocations: 0 / 385.1 MB, free: 10.86 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.0001982/0.0188, allocations: 160.5 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.01892, allocations: 47.72 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.01933, allocations: 117.1 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01933, allocations: 4 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01934, allocations: 0 / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01934, allocations: 0 / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.02046, allocations: 0.5091 MB / 386 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02047, allocations: 0 / 386 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.02056, allocations: 11.98 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02057, allocations: 288 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.02058, allocations: 0 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.02058, allocations: 0 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.02059, allocations: 7.938 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.02107, allocations: 263.8 kB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.02116, allocations: 43.64 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.0212, allocations: 4 kB / 386.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.02134, allocations: 3.984 kB / 386.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.0214, allocations: 8 kB / 386.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.02141, allocations: 0 / 386.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007917/0.0222, allocations: 442.8 kB / 386.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0222, allocations: 0 / 386.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004681/0.02267, allocations: 20 kB / 386.8 MB, free: 9.164 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.004152/0.02682, allocations: 438.3 kB / 387.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.02718, allocations: 51.59 kB / 387.2 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.02718, allocations: 0 / 387.2 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.0273, allocations: 31.67 kB / 387.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.02793, allocations: 36.5 kB / 387.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.02951, allocations: 0.5887 MB / 387.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.0299, allocations: 208.1 kB / 388.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.03, allocations: 19.92 kB / 388.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.03006, allocations: 16.48 kB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.03006, allocations: 0 / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of Templates: time 0.008203/0.03827, allocations: 1.347 MB / 389.5 MB, free: 6.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 5.057542309979908]