Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001426/0.001426, allocations: 79.59 kB / 21.18 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.001502/0.001502, allocations: 161 kB / 24.56 MB, free: 12 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 0.9394/0.9394, allocations: 177.1 MB / 205 MB, free: 5.586 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.2376/0.2376, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.CombiTable2Dv.Test6,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.865e-05, allocations: 5.547 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003119/0.003148, allocations: 1.704 MB / 377.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004207, allocations: 0.5764 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.004278, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.004917, allocations: 451.1 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.005466, allocations: 303.1 kB / 379 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.005921, allocations: 171.5 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.006219, allocations: 183.6 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.006325, allocations: 12 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.006497, allocations: 127.7 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.006752, allocations: 243.6 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.006775, allocations: 4 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006877, allocations: 39.91 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.006986, allocations: 83.7 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.007042, allocations: 35.75 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.007331, allocations: 207.1 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007335, allocations: 0 / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007336, allocations: 4 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.007342, allocations: 0 / 380.1 MB, free: 0.5039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007627/0.008105, allocations: 0.697 MB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.008146, allocations: 12.03 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.008222, allocations: 44.66 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.008473, allocations: 248.8 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.008485, allocations: 4.375 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.00851, allocations: 8.359 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.00867, allocations: 66.88 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.008682, allocations: 192 / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.008696, allocations: 8.125 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.008705, allocations: 0 / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.008756, allocations: 11.98 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.009342, allocations: 439.6 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.009445, allocations: 42.98 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.009481, allocations: 19.62 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.009502, allocations: 3.938 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.009529, allocations: 33.39 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.00953, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006768/0.01021, allocations: 216.8 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.01025, allocations: 55.41 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.01069, allocations: 0.6316 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.0107, allocations: 25.7 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.01085, allocations: 290.8 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.01088, allocations: 19.8 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.01093, allocations: 31.36 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.01114, allocations: 0.547 MB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/0.01117, allocations: 15.98 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.0112, allocations: 4 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.796e-05/0.01127, allocations: 43.64 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01127, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00016/0.01143, allocations: 109.6 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.01145, allocations: 6.031 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01146, allocations: 3.984 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.01147, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01161, allocations: 12 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01162, allocations: 4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.01167, allocations: 11.98 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.01168, allocations: 0 / 383.8 MB, free: 12.66 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 (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 9.847e-05/0.01177, allocations: 164.5 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.01184, allocations: 55.67 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.01204, allocations: 101.6 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01205, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01205, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.01206, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.01255, allocations: 493.2 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01255, allocations: 0 / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.01261, allocations: 19.98 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01261, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.01262, allocations: 4 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01262, allocations: 7.938 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01262, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01277, allocations: 263.5 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.0128, allocations: 31.72 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.01281, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.01286, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.01289, allocations: 7.984 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.0129, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.01317, allocations: 434.8 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01317, allocations: 4 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000174/0.01335, allocations: 27.94 kB / 385.3 MB, free: 11 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 (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.000815/0.01416, allocations: 386.6 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.01428, allocations: 43.61 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01428, allocations: 0 / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.01431, allocations: 31.81 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01456, allocations: 34.25 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.01521, allocations: 0.5901 MB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.471e-05/0.01528, allocations: 123.2 kB / 386.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.01533, allocations: 20.7 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.01536, allocations: 16.5 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01537, allocations: 0 / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.00396/0.01933, allocations: 1.627 MB / 388.2 MB, free: 8.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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: 2.997048973105848]