Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0008935/0.0008935, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009728/0.0009728, allocations: 167.5 kB / 24.99 MB, free: 8.355 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 1.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.282/0.282, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.825e-05, allocations: 2.312 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004073/0.004101, allocations: 1.665 MB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.00513, allocations: 0.5453 MB / 378.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.005213, allocations: 3.938 kB / 378.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.005868, allocations: 451.1 kB / 378.7 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004594/0.006328, allocations: 299.1 kB / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.006742, allocations: 163.6 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.007006, allocations: 175.6 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.007125, allocations: 15.98 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.007252, allocations: 115.8 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.007456, allocations: 235.6 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.007474, allocations: 4 kB / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.007552, allocations: 23.92 kB / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.007645, allocations: 87.7 kB / 379.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.00769, allocations: 31.75 kB / 379.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.007914, allocations: 199.2 kB / 380 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.007918, allocations: 0 / 380 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007919, allocations: 0 / 380 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.007924, allocations: 0 / 380 MB, free: 0.9922 MB / 346.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.0005869/0.008511, allocations: 0.6854 MB / 380.7 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.008557, allocations: 8.031 kB / 380.7 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.008628, allocations: 44.66 kB / 380.7 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.008873, allocations: 247.1 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.008885, allocations: 4.375 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.008897, allocations: 8.312 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.009052, allocations: 54.95 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.00906, allocations: 4.188 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.009069, allocations: 2.062 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.009077, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.009103, allocations: 4 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.009539, allocations: 423.6 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.009601, allocations: 35 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.009624, allocations: 11.75 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.009643, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.009666, allocations: 41.38 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.009667, allocations: 4 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.009843, allocations: 85.36 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.009875, allocations: 51.41 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.01032, allocations: 0.6354 MB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.01034, allocations: 25.7 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01048, allocations: 286.8 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.01049, allocations: 3.953 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.01052, allocations: 19.38 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.01069, allocations: 0.5508 MB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.0107, allocations: 0 / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.01072, allocations: 12.12 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.01075, allocations: 11.69 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01075, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.833e-05/0.01085, allocations: 89.34 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01087, allocations: 4 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01088, allocations: 4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01089, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.01098, allocations: 7.938 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01098, allocations: 3.938 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.01101, allocations: 12.05 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.01102, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.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 (2): * Single equations (assignments): 2 * 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 9.31e-05/0.01111, allocations: 156.6 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.01115, allocations: 43.72 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.01129, allocations: 76.73 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.0113, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.0113, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.0113, allocations: 3.938 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.01153, allocations: 280.5 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01153, allocations: 7.922 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.01156, allocations: 8.031 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01156, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.01157, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01157, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01157, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.0117, allocations: 231.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.01173, allocations: 31.72 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01174, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.01178, allocations: 0 / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.0118, allocations: 0 / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.0118, allocations: 4.031 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.01207, allocations: 434.7 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01207, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.01225, allocations: 20 kB / 384.6 MB, free: 12.09 MB / 362.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 (2): * Single equations (assignments): 2 * 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.0007376/0.01298, allocations: 330.5 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.01307, allocations: 15.67 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01307, allocations: 0 / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.01308, allocations: 19.75 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01333, allocations: 25.89 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.01418, allocations: 0.5626 MB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.021e-05/0.01425, allocations: 119.2 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.01429, allocations: 15.97 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.01431, allocations: 16.5 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01431, allocations: 3.938 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.003611/0.01793, allocations: 1.161 MB / 386.9 MB, free: 9.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.356307464884594]