Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.0009491/0.0009491, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.00101/0.00101, allocations: 177 kB / 24.92 MB, free: 8.652 MB / 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.9468/0.9468, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2541/0.2541, allocations: 34.25 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.948e-05, allocations: 4.844 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003287/0.003316, allocations: 1.652 MB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004367, allocations: 0.5335 MB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.004437, allocations: 8 kB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.004753, allocations: 75.7 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.005134, allocations: 107.5 kB / 327.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.005444, allocations: 95.56 kB / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.005635, allocations: 91.73 kB / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.005734, allocations: 8 kB / 327.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.005827, allocations: 47.88 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.005944, allocations: 43.89 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.005961, allocations: 8 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.006072, allocations: 47.91 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.006126, allocations: 27.86 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.006153, allocations: 7.938 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.006345, allocations: 95.66 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.006349, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006351, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006355, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.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.0005067/0.006862, allocations: 314.1 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.006913, allocations: 8.031 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.006965, allocations: 12.92 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.007178, allocations: 151.4 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.007193, allocations: 4.375 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.007222, allocations: 384 / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.007359, allocations: 54.95 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.007371, allocations: 4.188 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.00738, allocations: 4.125 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.007386, allocations: 0 / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.007414, allocations: 7.984 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.007697, allocations: 179 kB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.007775, allocations: 30.64 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.007793, allocations: 8.859 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.007815, allocations: 4 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.007842, allocations: 46.56 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.053e-06/0.007844, allocations: 0 / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.008425, allocations: 145.4 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.008459, allocations: 51.41 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.008622, allocations: 181.5 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.008633, allocations: 25.7 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.008674, allocations: 104 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.008705, allocations: 27.75 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.008742, allocations: 29.69 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.008829, allocations: 318.8 kB / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.008851, allocations: 8 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.008871, allocations: 7.984 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.008927, allocations: 28.83 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008929, allocations: 0 / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.798e-05/0.009017, allocations: 65.78 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.009033, allocations: 6.031 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009038, allocations: 4 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.009051, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.009142, allocations: 15.98 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.009145, allocations: 0 / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.009179, allocations: 8 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.009188, allocations: 3.984 kB / 329.9 MB, free: 2.812 MB / 298.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 (8): * Single equations (assignments): 8 * 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 7.339e-05/0.009261, allocations: 112.7 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.009291, allocations: 11.94 kB / 330 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.00944, allocations: 75.05 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009444, allocations: 4 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.009448, allocations: 8 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009452, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.00983, allocations: 243.5 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009833, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.009903, allocations: 19.98 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009906, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.009912, allocations: 4 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009914, allocations: 0 / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.009916, allocations: 0 / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.01003, allocations: 168.2 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.01005, allocations: 15.94 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.01006, allocations: 8 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.01013, allocations: 3.984 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.01016, allocations: 4 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.01017, allocations: 3.984 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.194e-05/0.01023, allocations: 48.16 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01023, allocations: 4 kB / 330.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.01048, allocations: 19.98 kB / 330.7 MB, free: 2.004 MB / 298.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 (8): * Single equations (assignments): 8 * 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.001759/0.01224, allocations: 0.5768 MB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.01235, allocations: 40.7 kB / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01235, allocations: 0 / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.01238, allocations: 20.8 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01264, allocations: 26.7 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.01309, allocations: 227.6 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.01314, allocations: 71.33 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.01319, allocations: 13.05 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.01326, allocations: 59.36 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01326, allocations: 4 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of Templates: time 0.004539/0.0178, allocations: 1.481 MB / 333.2 MB, free: 15.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.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.9135948750190437]