Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0009997/0.0009997, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001775/0.001775, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9457/0.9457, allocations: 177.1 MB / 205 MB, free: 5.637 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.2532/0.2532, allocations: 32.8 MB / 294.3 MB, free: 1.273 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.391e-05, allocations: 6.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002465/0.002489, allocations: 2.038 MB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.004132, allocations: 1.332 MB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004266, allocations: 4 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.004543, allocations: 67.42 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.005005, allocations: 207 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.005927, allocations: 0.5963 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.006295, allocations: 327 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.006451, allocations: 52.81 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.006754, allocations: 171.5 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.00696, allocations: 175.6 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.00699, allocations: 12 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.007119, allocations: 71.84 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.007243, allocations: 147.5 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.007316, allocations: 87.58 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.007658, allocations: 310.7 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.007661, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007663, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.00767, allocations: 3.938 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007959/0.008466, allocations: 0.8251 MB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.008504, allocations: 12.03 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.008709, allocations: 84.48 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.009046, allocations: 348.6 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.00906, allocations: 8.375 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.009085, allocations: 12.38 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.009264, allocations: 129.2 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.009277, allocations: 11.88 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.009288, allocations: 3.984 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.009297, allocations: 8 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.009362, allocations: 35.91 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.009928, allocations: 0.6622 MB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.01004, allocations: 102.1 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.01008, allocations: 27.5 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.0101, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.01012, allocations: 45.38 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.01012, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006761/0.0108, allocations: 424 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.01084, allocations: 89.03 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.0113, allocations: 0.6588 MB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.01132, allocations: 29.7 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.01149, allocations: 315.1 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.01153, allocations: 55.48 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.01157, allocations: 39.36 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.01172, allocations: 0.5586 MB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.01177, allocations: 20.2 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.01182, allocations: 47.53 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.01192, allocations: 75.3 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01192, allocations: 4 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001876/0.01211, allocations: 173.3 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01212, allocations: 4 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01213, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01214, allocations: 4 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01226, allocations: 35.92 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01226, allocations: 3.984 kB / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.01231, allocations: 8 kB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.01232, allocations: 4 kB / 386.4 MB, free: 9.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 8.509e-05/0.01241, allocations: 164.6 kB / 386.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.01247, allocations: 67.55 kB / 386.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.01271, allocations: 186.2 kB / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01271, allocations: 0 / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01272, allocations: 0 / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01272, allocations: 4 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.01328, allocations: 0.7388 MB / 387.6 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01328, allocations: 0 / 387.6 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.01336, allocations: 39.97 kB / 387.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01336, allocations: 4 kB / 387.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01338, allocations: 4 kB / 387.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.01338, allocations: 0 / 387.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01338, allocations: 0 / 387.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.01362, allocations: 442.6 kB / 388 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.01367, allocations: 59.61 kB / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.01369, allocations: 0 / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.01377, allocations: 11.98 kB / 388.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.01382, allocations: 7.984 kB / 388.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01383, allocations: 15.92 kB / 388.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002983/0.01413, allocations: 442.7 kB / 388.6 MB, free: 7.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01413, allocations: 0 / 388.6 MB, free: 7.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01437, allocations: 51.94 kB / 388.6 MB, free: 7.691 MB / 362.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 (16): * Single equations (assignments): 16 * 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.00083/0.0152, allocations: 390.5 kB / 389 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01537, allocations: 83.52 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01537, allocations: 0 / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.01543, allocations: 51.59 kB / 389.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.01579, allocations: 84.75 kB / 389.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.01673, allocations: 0.7809 MB / 390 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.454e-05/0.01682, allocations: 144.5 kB / 390.1 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.01692, allocations: 59.55 kB / 390.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.01699, allocations: 40.48 kB / 390.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01699, allocations: 0 / 390.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of Templates: time 0.007028/0.02402, allocations: 4.445 MB / 394.7 MB, free: 1.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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.1237618322484195]