Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001334/0.001334, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001321/0.001321, allocations: 171.5 kB / 24.84 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9718/0.9718, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1543/0.1543, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.259e-05, allocations: 6.25 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00224/0.002263, allocations: 1.595 MB / 350.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005187/0.002781, allocations: 307.5 kB / 350.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.002872, allocations: 0 / 350.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.003203, allocations: 79.7 kB / 350.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.003412, allocations: 71.67 kB / 351 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.003648, allocations: 63.83 kB / 351 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.003833, allocations: 67.83 kB / 351.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.00394, allocations: 8 kB / 351.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.004013, allocations: 43.88 kB / 351.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.004124, allocations: 51.88 kB / 351.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.004143, allocations: 7.938 kB / 351.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.004226, allocations: 35.92 kB / 351.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.00427, allocations: 15.94 kB / 351.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.004293, allocations: 11.92 kB / 351.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004467, allocations: 71.73 kB / 351.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004469, allocations: 4 kB / 351.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00447, allocations: 0 / 351.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.004475, allocations: 0 / 351.3 MB, free: 6.742 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.0003483/0.004824, allocations: 435.9 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.004864, allocations: 8.031 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.004902, allocations: 12.89 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.005028, allocations: 144.4 kB / 351.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.005039, allocations: 384 / 351.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.005057, allocations: 384 / 351.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.005159, allocations: 58.95 kB / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.005171, allocations: 192 / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.00518, allocations: 4.125 kB / 352 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005187, allocations: 0 / 352 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.005211, allocations: 11.98 kB / 352 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.005452, allocations: 260.3 kB / 352.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.005635, allocations: 43.11 kB / 352.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.005653, allocations: 7.688 kB / 352.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.005681, allocations: 4 kB / 352.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.005705, allocations: 37.33 kB / 352.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.005708, allocations: 3.984 kB / 352.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003078/0.006016, allocations: 81.66 kB / 352.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.006039, allocations: 51.41 kB / 352.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.006129, allocations: 232 kB / 352.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.006136, allocations: 29.7 kB / 352.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.006185, allocations: 154.8 kB / 352.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.006207, allocations: 19.81 kB / 352.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.006236, allocations: 27.38 kB / 352.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.0063, allocations: 0.4923 MB / 353.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.006312, allocations: 0 / 353.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.006325, allocations: 8 kB / 353.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.006353, allocations: 23.66 kB / 353.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006354, allocations: 4 kB / 353.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.441e-05/0.006428, allocations: 57.55 kB / 353.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.006444, allocations: 4 kB / 353.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006449, allocations: 8 kB / 353.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.00646, allocations: 3.938 kB / 353.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.00651, allocations: 19.92 kB / 353.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.006513, allocations: 0 / 353.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.006532, allocations: 4 kB / 353.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.006536, allocations: 256 / 353.5 MB, free: 4.328 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 5.268e-05/0.006589, allocations: 152.6 kB / 353.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.006616, allocations: 19.88 kB / 353.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006718, allocations: 66.16 kB / 353.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.00672, allocations: 0 / 353.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006722, allocations: 4 kB / 353.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.00673, allocations: 4 kB / 353.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.006932, allocations: 302 kB / 354.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.006934, allocations: 0 / 354.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.006966, allocations: 11.98 kB / 354.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006968, allocations: 0 / 354.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.006973, allocations: 0 / 354.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006975, allocations: 4 kB / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.006976, allocations: 0 / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.807e-05/0.007054, allocations: 211.7 kB / 354.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.007064, allocations: 11.95 kB / 354.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.007081, allocations: 0 / 354.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.007112, allocations: 4 kB / 354.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.007146, allocations: 7.984 kB / 354.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.00715, allocations: 0 / 354.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.14e-05/0.007201, allocations: 160 kB / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.007201, allocations: 0 / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.007377, allocations: 15.94 kB / 354.5 MB, free: 3.305 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.0009719/0.008349, allocations: 379.6 kB / 354.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.008472, allocations: 35.59 kB / 354.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.008475, allocations: 4 kB / 354.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.008497, allocations: 19.62 kB / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.008774, allocations: 29.11 kB / 355 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.009075, allocations: 190.2 kB / 355.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.00911, allocations: 63.34 kB / 355.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.009149, allocations: 7.984 kB / 355.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.009205, allocations: 82.2 kB / 355.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009206, allocations: 0 / 355.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of Templates: time 0.003533/0.01274, allocations: 1.274 MB / 356.6 MB, free: 1.285 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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: 3.276019324082881]