Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001051/0.001051, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002593, 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.0009282/0.0009282, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002264, 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.9143/0.9143, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1559/1.07, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.1284/0.1284, allocations: 32.81 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02299/0.1513, allocations: 12.53 MB / 284.5 MB, free: 9.711 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.27e-05, allocations: 2.312 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003152/0.003185, allocations: 1.652 MB / 287.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.003886, allocations: 414.9 kB / 287.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.003952, allocations: 0 / 287.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.004116, allocations: 31.73 kB / 288 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.004251, allocations: 43.77 kB / 288 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.00452, allocations: 91.64 kB / 288.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.004669, allocations: 59.78 kB / 288.1 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.004754, allocations: 7.984 kB / 288.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.004853, allocations: 39.92 kB / 288.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.004911, allocations: 11.92 kB / 288.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.004929, allocations: 4 kB / 288.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.00502, allocations: 39.86 kB / 288.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.005063, allocations: 11.94 kB / 288.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.005087, allocations: 7.938 kB / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.005241, allocations: 71.73 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.005252, allocations: 0 / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005253, allocations: 4 kB / 288.3 MB, free: 5.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.005262, allocations: 0 / 288.3 MB, free: 5.902 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.0004097/0.005672, allocations: 288.2 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.005706, allocations: 8.031 kB / 288.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.005738, allocations: 8.875 kB / 288.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.005893, allocations: 141.5 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.005902, allocations: 384 / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.005926, allocations: 4.375 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.006029, allocations: 50.95 kB / 288.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.006039, allocations: 192 / 288.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.006046, allocations: 12.12 kB / 288.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.006054, allocations: 4 kB / 288.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.006078, allocations: 7.984 kB / 288.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.006297, allocations: 159 kB / 289 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.006442, allocations: 34.55 kB / 289 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.00646, allocations: 12.92 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.006476, allocations: 0 / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.006498, allocations: 30.56 kB / 289.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.006499, allocations: 0 / 289.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002937/0.006792, allocations: 85.75 kB / 289.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.006821, allocations: 55.41 kB / 289.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.006938, allocations: 151.6 kB / 289.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.006949, allocations: 25.7 kB / 289.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.006989, allocations: 100 kB / 289.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.007013, allocations: 19.89 kB / 289.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.007045, allocations: 13.72 kB / 289.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.00714, allocations: 318.8 kB / 289.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.007154, allocations: 7.938 kB / 289.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.007166, allocations: 4 kB / 289.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.007198, allocations: 16.84 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007199, allocations: 4 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.432e-05/0.007273, allocations: 53.62 kB / 289.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007287, allocations: 4 kB / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.007291, allocations: 0 / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.007303, allocations: 0 / 289.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.007361, allocations: 15.98 kB / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.007363, allocations: 3.938 kB / 289.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.007388, allocations: 4 kB / 289.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.007393, allocations: 3.938 kB / 289.9 MB, free: 4.129 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 6.163e-05/0.007454, allocations: 112.7 kB / 290.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.007482, allocations: 15.92 kB / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.007584, allocations: 58.39 kB / 290.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007586, allocations: 64 / 290.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.007589, allocations: 4 kB / 290.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007592, allocations: 0 / 290.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.007834, allocations: 206.8 kB / 290.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.007836, allocations: 3.938 kB / 290.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.007881, allocations: 15.98 kB / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.00789, allocations: 3.953 kB / 290.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007892, allocations: 0 / 290.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.007899, allocations: 8 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.007901, allocations: 4 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.007902, allocations: 0 / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/0.007998, allocations: 147.4 kB / 290.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.00801, allocations: 0 / 290.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.008065, allocations: 8 kB / 290.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.008092, allocations: 3.984 kB / 290.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.008096, allocations: 0 / 290.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.008141, allocations: 35.66 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008142, allocations: 0 / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.008358, allocations: 15.94 kB / 290.6 MB, free: 3.438 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.00162/0.009978, allocations: 0.5562 MB / 291.1 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.01006, allocations: 24.78 kB / 291.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.01006, allocations: 0 / 291.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.178e-05/0.0101, allocations: 20.98 kB / 291.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01035, allocations: 88.94 kB / 291.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.01083, allocations: 186.8 kB / 291.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.01087, allocations: 69.41 kB / 291.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01091, allocations: 8 kB / 291.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.01097, allocations: 59.36 kB / 291.6 MB, free: 2.641 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.01097, allocations: 0 / 291.6 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Templates: time 0.003532/0.0145, allocations: 1.231 MB / 292.8 MB, free: 1.426 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.5497541055083275]