Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007357/0.0007357, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001774, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006247/0.0006247, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009773/0.001602, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8873/0.8873, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1643/1.052, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.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.1591/0.1591, allocations: 32.81 MB / 272 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02153/0.1806, allocations: 12.53 MB / 284.5 MB, free: 9.699 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.805e-05, allocations: 13.2 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001939/0.001957, allocations: 1.699 MB / 287.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.002474, allocations: 434.8 kB / 288 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.002518, allocations: 0 / 288 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.002685, allocations: 99.61 kB / 288.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.002797, allocations: 79.59 kB / 288.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.004181, allocations: 115.6 kB / 288.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.004383, allocations: 87.77 kB / 288.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.004497, allocations: 23.97 kB / 288.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.004624, allocations: 71.81 kB / 288.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.004724, allocations: 51.88 kB / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.004746, allocations: 8 kB / 288.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.004856, allocations: 47.86 kB / 288.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.004897, allocations: 27.88 kB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.004924, allocations: 15.94 kB / 288.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.005068, allocations: 95.59 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.005077, allocations: 0 / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005078, allocations: 0 / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.005086, allocations: 0 / 288.7 MB, free: 5.516 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003366/0.005423, allocations: 343.8 kB / 289 MB, free: 5.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.005449, allocations: 8.031 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.005482, allocations: 20.92 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.005606, allocations: 149.5 kB / 289.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.005615, allocations: 8.375 kB / 289.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.005635, allocations: 4.375 kB / 289.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.005723, allocations: 66.31 kB / 289.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.005731, allocations: 192 / 289.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.00574, allocations: 16.11 kB / 289.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005746, allocations: 7.922 kB / 289.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.005772, allocations: 15.94 kB / 289.3 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.006008, allocations: 203 kB / 289.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.006064, allocations: 46.5 kB / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.006081, allocations: 16.78 kB / 289.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.006098, allocations: 4 kB / 289.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.006117, allocations: 34.72 kB / 289.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006118, allocations: 0 / 289.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004574/0.006575, allocations: 201.9 kB / 289.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.006601, allocations: 55.41 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.006704, allocations: 184.3 kB / 290.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.006715, allocations: 29.7 kB / 290.1 MB, free: 4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.00676, allocations: 104 kB / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.006794, allocations: 51.62 kB / 290.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.006829, allocations: 33.69 kB / 290.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.006906, allocations: 326.8 kB / 290.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.006922, allocations: 8 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.00694, allocations: 11.98 kB / 290.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.006986, allocations: 47.64 kB / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006987, allocations: 0 / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.454e-05/0.007061, allocations: 76.23 kB / 290.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007072, allocations: 8 kB / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.007076, allocations: 0 / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.007087, allocations: 0 / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.007163, allocations: 31.98 kB / 290.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.007165, allocations: 0 / 290.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.007183, allocations: 4 kB / 290.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.00719, allocations: 3.984 kB / 290.8 MB, free: 3.281 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 (13): * Single equations (assignments): 13 * 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.648e-05/0.007246, allocations: 128.5 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.007265, allocations: 8 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.007376, allocations: 99.28 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007378, allocations: 4 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.007379, allocations: 0 / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007383, allocations: 7.984 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.007623, allocations: 291.4 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007625, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.00768, allocations: 27.92 kB / 291.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.00769, allocations: 11.91 kB / 291.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007692, allocations: 4 kB / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.007698, allocations: 4 kB / 291.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.007702, allocations: 7.969 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007703, allocations: 0 / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/0.007802, allocations: 180.4 kB / 291.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.007813, allocations: 4 kB / 291.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.007845, allocations: 4 kB / 291.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.007871, allocations: 15.86 kB / 291.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.007876, allocations: 7.984 kB / 291.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.007918, allocations: 56.66 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007918, allocations: 0 / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.008059, allocations: 27.98 kB / 291.7 MB, free: 2.348 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.00134/0.0094, allocations: 0.6378 MB / 292.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.009488, allocations: 40.84 kB / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.009495, allocations: 11.98 kB / 292.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.009537, allocations: 44.72 kB / 292.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.00972, allocations: 83.38 kB / 292.5 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.01016, allocations: 263.7 kB / 292.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.0102, allocations: 75.33 kB / 292.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.01025, allocations: 28.56 kB / 292.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.01031, allocations: 63.36 kB / 292.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01031, allocations: 4 kB / 292.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of Templates: time 0.003116/0.01342, allocations: 1.73 MB / 294.6 MB, free: 15.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6872240472584963]