Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001081/0.001081, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002741, 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.0009813/0.0009813, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002392, 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.9157/0.9157, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1479/1.064, allocations: 52.49 MB / 238.5 MB, free: 7.617 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.1334/0.1334, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01856/0.152, allocations: 12.54 MB / 284.5 MB, free: 9.707 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.406e-05, allocations: 4.984 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001871/0.001885, allocations: 1.707 MB / 287.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000565/0.00245, allocations: 434.9 kB / 288 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.002504, allocations: 4 kB / 288 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.002689, allocations: 95.61 kB / 288.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.002811, allocations: 75.61 kB / 288.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.003046, allocations: 115.6 kB / 288.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.003181, allocations: 95.73 kB / 288.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.003268, allocations: 19.98 kB / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.00336, allocations: 71.81 kB / 288.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.003442, allocations: 51.88 kB / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.003457, allocations: 8 kB / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.00354, allocations: 47.86 kB / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.003587, allocations: 31.86 kB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.003613, allocations: 15.94 kB / 288.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003758, allocations: 91.61 kB / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.003768, allocations: 0 / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003769, allocations: 0 / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.003777, allocations: 0 / 288.7 MB, free: 5.523 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.0003269/0.004104, allocations: 347.8 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.00413, allocations: 8.031 kB / 289.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.004157, allocations: 12.94 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004279, allocations: 153.5 kB / 289.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.004286, allocations: 8.312 kB / 289.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.004308, allocations: 8.359 kB / 289.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/0.004394, allocations: 70.88 kB / 289.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.004403, allocations: 8.172 kB / 289.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.00441, allocations: 4.125 kB / 289.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.004414, allocations: 0 / 289.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.00444, allocations: 15.98 kB / 289.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.004666, allocations: 199 kB / 289.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.478e-05/0.004721, allocations: 50.48 kB / 289.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.004739, allocations: 16.8 kB / 289.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.004756, allocations: 4 kB / 289.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.004771, allocations: 30.56 kB / 289.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.004772, allocations: 0 / 289.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004429/0.005215, allocations: 206 kB / 289.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.00524, allocations: 55.41 kB / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.005346, allocations: 180.3 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.00536, allocations: 33.7 kB / 290.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.005396, allocations: 104 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.00543, allocations: 47.62 kB / 290.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.005465, allocations: 29.7 kB / 290.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.005546, allocations: 334.7 kB / 290.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.005561, allocations: 8 kB / 290.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.005582, allocations: 8 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.005631, allocations: 47.28 kB / 290.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.005632, allocations: 0 / 290.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.412e-05/0.005706, allocations: 81.59 kB / 290.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.005716, allocations: 4 kB / 290.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.00572, allocations: 4 kB / 290.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.005729, allocations: 3.938 kB / 290.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.005802, allocations: 27.98 kB / 290.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.005804, allocations: 0 / 290.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.005823, allocations: 4 kB / 290.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.005827, allocations: 0 / 290.8 MB, free: 3.293 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.939e-05/0.005887, allocations: 124.5 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.005908, allocations: 11.98 kB / 290.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.006019, allocations: 99.28 kB / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00602, allocations: 4 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006022, allocations: 0 / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006025, allocations: 0 / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.006279, allocations: 303.3 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006281, allocations: 0 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.006331, allocations: 27.92 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.006341, allocations: 15.91 kB / 291.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006344, allocations: 7.984 kB / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.00635, allocations: 0 / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.006353, allocations: 3.938 kB / 291.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006355, allocations: 8.031 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.006456, allocations: 180.3 kB / 291.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.006466, allocations: 0 / 291.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.006508, allocations: 4 kB / 291.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.006537, allocations: 15.86 kB / 291.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.00654, allocations: 4 kB / 291.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.006585, allocations: 60.64 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006585, allocations: 0 / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.006724, allocations: 24 kB / 291.7 MB, free: 2.355 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.001206/0.00793, allocations: 0.625 MB / 292.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.008026, allocations: 56.69 kB / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.008032, allocations: 4 kB / 292.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.008072, allocations: 40.84 kB / 292.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.008249, allocations: 79.39 kB / 292.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.008688, allocations: 271.7 kB / 292.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.008727, allocations: 75.33 kB / 292.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.008767, allocations: 20.47 kB / 292.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.008822, allocations: 71.41 kB / 292.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of SimCode: time 4.2e-07/0.008823, allocations: 0 / 292.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of Templates: time 0.002864/0.01169, allocations: 1.74 MB / 294.6 MB, free: 15.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.6788743808865547]