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.001995/0.001995, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002422/0.002422, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.552/1.552, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.352/0.352, allocations: 32.79 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|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.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|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.874e-06/1.874e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.182e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00609/0.006132, allocations: 1.975 MB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.01097, allocations: 1.312 MB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.01116, allocations: 4 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.01163, allocations: 63.38 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.01264, allocations: 207.1 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.01558, allocations: 0.5886 MB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.01647, allocations: 338.8 kB / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.01674, allocations: 48.91 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.01731, allocations: 171.5 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.01777, allocations: 179.6 kB / 380.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.01783, allocations: 12 kB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.01815, allocations: 63.92 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.01851, allocations: 155.5 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.01874, allocations: 83.64 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.01974, allocations: 382.5 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.01975, allocations: 0 / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.01975, allocations: 0 / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.01976, allocations: 0 / 380.8 MB, free: 15.39 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.001799/0.02156, allocations: 0.7096 MB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.02161, allocations: 12.03 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.02209, allocations: 84.5 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.0233, allocations: 417.7 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.02332, allocations: 8.375 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.02338, allocations: 4.375 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.0239, allocations: 158.5 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.02392, allocations: 7.875 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.02395, allocations: 8 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.02396, allocations: 0 / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.02441, allocations: 87.94 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.02624, allocations: 0.5977 MB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.02668, allocations: 117.2 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.0269, allocations: 45.81 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.02694, allocations: 0 / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.027, allocations: 34.56 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.027, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002846/0.02984, allocations: 0.5662 MB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.02995, allocations: 85.09 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.03196, allocations: 0.8702 MB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.03201, allocations: 29.7 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.03242, allocations: 260.3 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.03253, allocations: 51.7 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.03266, allocations: 37.7 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003539/0.03302, allocations: 374.7 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.03339, allocations: 59.95 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.03378, allocations: 85.84 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.03456, allocations: 157.7 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.03457, allocations: 4 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001087/0.03565, allocations: 249.2 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.03568, allocations: 8 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.03569, allocations: 3.938 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.03573, allocations: 7.922 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.03614, allocations: 39.97 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.03615, allocations: 4 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.03639, allocations: 4 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.03643, allocations: 15.98 kB / 386 MB, free: 10.02 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 0.0004316/0.03686, allocations: 213.7 kB / 386.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.0371, allocations: 63.56 kB / 386.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.0383, allocations: 286.2 kB / 386.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.03831, allocations: 4 kB / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.03832, allocations: 4 kB / 386.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.03832, allocations: 0 / 386.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.04065, allocations: 0.72 MB / 387.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.04066, allocations: 0 / 387.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.041, allocations: 35.97 kB / 387.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.041, allocations: 0 / 387.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.04103, allocations: 8 kB / 387.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.04104, allocations: 4 kB / 387.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.04104, allocations: 3.938 kB / 387.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.04227, allocations: 422.3 kB / 387.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.04248, allocations: 67.61 kB / 387.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.579e-05/0.04256, allocations: 3.938 kB / 387.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.04295, allocations: 15.98 kB / 387.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.04307, allocations: 15.97 kB / 387.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.0431, allocations: 8 kB / 387.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.04465, allocations: 0.6355 MB / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.04465, allocations: 0 / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007503/0.0454, allocations: 63.92 kB / 388.5 MB, free: 7.398 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.00313/0.04853, allocations: 425.2 kB / 388.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.04955, allocations: 167.8 kB / 389.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.04955, allocations: 4 kB / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.05003, allocations: 83.88 kB / 389.2 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.05119, allocations: 80.83 kB / 389.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.05422, allocations: 0.9602 MB / 390.2 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.0548, allocations: 282 kB / 390.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.05521, allocations: 87.52 kB / 390.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.05541, allocations: 44.48 kB / 390.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.05541, allocations: 4 kB / 390.6 MB, free: 5.414 MB / 362.7 MB Notification: Performance of Templates: time 0.01913/0.07454, allocations: 4.167 MB / 394.8 MB, free: 1.277 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.053313525975682]