Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001046/0.001046, 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.001167/0.001167, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.276/0.276, allocations: 32.81 MB / 294.6 MB, free: 1.301 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.352e-05, allocations: 4.141 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.005783/0.005806, allocations: 1.74 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.006708, allocations: 0.5569 MB / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.006778, allocations: 0 / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.006971, allocations: 23.84 kB / 378.3 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.01329, allocations: 95.47 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.01363, allocations: 131.5 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.01381, allocations: 99.62 kB / 378.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.0139, allocations: 8 kB / 378.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.014, allocations: 51.88 kB / 378.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.01407, allocations: 35.91 kB / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.01409, allocations: 8 kB / 378.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.01426, allocations: 91.88 kB / 378.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.01432, allocations: 23.91 kB / 378.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.01436, allocations: 23.92 kB / 378.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.01463, allocations: 159.4 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01463, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01463, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.01463, allocations: 0 / 379 MB, free: 1.953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004927/0.01513, allocations: 451.8 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.01516, allocations: 12.03 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.01522, allocations: 12.89 kB / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.01541, allocations: 148.9 kB / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.01542, allocations: 384 / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.01544, allocations: 4.375 kB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.01563, allocations: 123.7 kB / 379.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.01564, allocations: 0 / 379.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.01565, allocations: 4 kB / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.01566, allocations: 0 / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.0157, allocations: 11.98 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.0161, allocations: 303.6 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006142/0.02224, allocations: 43 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.02228, allocations: 23.61 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.0223, allocations: 0 / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.02233, allocations: 45.45 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.02233, allocations: 0 / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005943/0.02293, allocations: 165.3 kB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.02298, allocations: 81.11 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.02319, allocations: 208.9 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.0232, allocations: 25.7 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.02328, allocations: 146.9 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.0233, allocations: 31.69 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.02334, allocations: 27.38 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.02345, allocations: 0.4962 MB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.02349, allocations: 11.98 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/0.02354, allocations: 61 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.0236, allocations: 35.69 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0236, allocations: 4.031 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.02372, allocations: 89.81 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.02373, allocations: 4 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.02373, allocations: 384 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.02374, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.02385, allocations: 27.97 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.02386, allocations: 4 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.0239, allocations: 19.92 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.02391, allocations: 4 kB / 381.6 MB, free: 15.13 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 (10): * Single equations (assignments): 10 * 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.627e-05/0.02398, allocations: 164.5 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.024, allocations: 15.95 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.02419, allocations: 90.41 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02419, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.0242, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0242, allocations: 3.938 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.02453, allocations: 369.4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.02453, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.02465, allocations: 35.91 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.02465, allocations: 0 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.02466, allocations: 7.938 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.02466, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02466, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.02483, allocations: 223.8 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.02484, allocations: 15.94 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.02486, allocations: 3.938 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.02493, allocations: 11.98 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.02498, allocations: 15.92 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.02499, allocations: 4 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.98e-05/0.02506, allocations: 158.3 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02506, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.02526, allocations: 51.86 kB / 382.8 MB, free: 13.9 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 (9): * Single equations (assignments): 9 * 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.0009996/0.02626, allocations: 0.4982 MB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.0264, allocations: 51.59 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0264, allocations: 0 / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.02645, allocations: 35.61 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.02667, allocations: 30.34 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.02704, allocations: 209.2 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.02708, allocations: 71.33 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.02713, allocations: 16.47 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.02719, allocations: 28.48 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02719, allocations: 0 / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of Templates: time 0.004331/0.03152, allocations: 2.641 MB / 386.3 MB, free: 10.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.3268246459774673]