Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008725/0.0008725, allocations: 80.8 kB / 21.49 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.0009699/0.0009699, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9337/0.9337, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.305/0.305, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.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.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.45e-05, allocations: 5.078 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001915/0.001929, allocations: 1.699 MB / 325 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.002589, allocations: 0.5535 MB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.002629, allocations: 4 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.00303, allocations: 451.1 kB / 325.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.003359, allocations: 299.2 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003576, allocations: 127.5 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.003746, allocations: 175.6 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.003816, allocations: 19.91 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003922, allocations: 127.8 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.004065, allocations: 191.6 kB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.004078, allocations: 4 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.00415, allocations: 51.92 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.004229, allocations: 87.69 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.00426, allocations: 35.75 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.004448, allocations: 219.1 kB / 327.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004449, allocations: 4 kB / 327.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00445, allocations: 3.938 kB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.004453, allocations: 0 / 327.3 MB, free: 5.641 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004619/0.004915, allocations: 0.5461 MB / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.004948, allocations: 8.031 kB / 327.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.004987, allocations: 24.91 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.005183, allocations: 246 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.005191, allocations: 4.375 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.005212, allocations: 4.375 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.005304, allocations: 62.88 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005312, allocations: 4.188 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.005319, allocations: 8.125 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.005324, allocations: 0 / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.005347, allocations: 12 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.005542, allocations: 180.1 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/0.005587, allocations: 34.53 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.005604, allocations: 8.859 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.005617, allocations: 3.938 kB / 328.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.005637, allocations: 38.56 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005638, allocations: 0 / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003727/0.00601, allocations: 161.6 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.006038, allocations: 55.41 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.006334, allocations: 0.5244 MB / 329.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006346, allocations: 29.7 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.006399, allocations: 145.2 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.006418, allocations: 23.75 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.006446, allocations: 29.69 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.006527, allocations: 354.7 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.00654, allocations: 7.984 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.006551, allocations: 12 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.006587, allocations: 28.83 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006587, allocations: 0 / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.029e-05/0.006648, allocations: 73.59 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.006657, allocations: 8 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.00666, allocations: 0 / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.00667, allocations: 0 / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.006723, allocations: 15.98 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.006725, allocations: 0 / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.006748, allocations: 4 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006752, allocations: 4 kB / 329.9 MB, free: 2.848 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 6.288e-05/0.006815, allocations: 124.6 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.006838, allocations: 19.98 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.00695, allocations: 105.8 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006952, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006953, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006956, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.007208, allocations: 315.4 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007209, allocations: 4.031 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.00724, allocations: 15.98 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007243, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.007247, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.007248, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007248, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.007341, allocations: 180.2 kB / 330.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.007367, allocations: 39.7 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.00738, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.007418, allocations: 4 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.00744, allocations: 3.984 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.007444, allocations: 8 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.00762, allocations: 291.1 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007621, allocations: 0 / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007763, allocations: 31.94 kB / 331 MB, free: 1.66 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.001068/0.008831, allocations: 0.5759 MB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.384e-05/0.008895, allocations: 28.84 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.008901, allocations: 4 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.008922, allocations: 24.78 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.009087, allocations: 29.7 kB / 331.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.009619, allocations: 0.6019 MB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.624e-05/0.009685, allocations: 119.3 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.00972, allocations: 25.02 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.009766, allocations: 55.38 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009766, allocations: 0 / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of Templates: time 0.003737/0.0135, allocations: 1.715 MB / 334.2 MB, free: 14.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.9287410131655633]