Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.0009658/0.0009658, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001016/0.001016, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.113/1.113, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2863/0.2863, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.03e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002694/0.002724, allocations: 2.105 MB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.004524, allocations: 1.367 MB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.004657, allocations: 4 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.004956, allocations: 63.38 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.005527, allocations: 230.9 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.006577, allocations: 0.6041 MB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.007073, allocations: 362.8 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.00725, allocations: 52.83 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.007569, allocations: 191.4 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.0078, allocations: 183.6 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.007837, allocations: 16 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.007972, allocations: 63.91 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.008096, allocations: 155.4 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.008178, allocations: 95.58 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.008564, allocations: 334.6 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.008569, allocations: 0 / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008571, allocations: 3.938 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.008581, allocations: 0 / 383.8 MB, free: 13.13 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.001002/0.009583, allocations: 0.8523 MB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.009633, allocations: 8.031 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.00995, allocations: 100.5 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.0104, allocations: 381.3 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.01042, allocations: 4.375 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.01045, allocations: 8.375 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.0107, allocations: 149.1 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01072, allocations: 7.875 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.01073, allocations: 8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01074, allocations: 0 / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.01083, allocations: 35.97 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.01174, allocations: 0.6895 MB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.01192, allocations: 102.2 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.01198, allocations: 35.48 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.01202, allocations: 4 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.01205, allocations: 41.39 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.01205, allocations: 4 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001358/0.01341, allocations: 0.4953 MB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.01346, allocations: 85.05 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.01403, allocations: 0.6832 MB / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01406, allocations: 33.7 kB / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.01424, allocations: 331.1 kB / 387.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.01431, allocations: 75.42 kB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.01437, allocations: 39.36 kB / 388 MB, free: 8.758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01455, allocations: 0.5667 MB / 388.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.01462, allocations: 23.98 kB / 388.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.01472, allocations: 61.86 kB / 388.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01487, allocations: 95.42 kB / 388.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01487, allocations: 4 kB / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002784/0.01515, allocations: 201 kB / 388.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.01517, allocations: 4 kB / 388.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01517, allocations: 0 / 388.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.0152, allocations: 4 kB / 388.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01538, allocations: 39.97 kB / 389 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01539, allocations: 11.98 kB / 389 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.01547, allocations: 12 kB / 389 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01548, allocations: 7.984 kB / 389 MB, free: 7.703 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 (20): * Single equations (assignments): 20 * 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.0001341/0.01562, allocations: 168.5 kB / 389.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.0157, allocations: 71.52 kB / 389.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.0161, allocations: 227.1 kB / 389.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.01611, allocations: 4 kB / 389.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01611, allocations: 0 / 389.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.01612, allocations: 7.984 kB / 389.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007985/0.01692, allocations: 0.797 MB / 390.3 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01692, allocations: 0 / 390.3 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.01704, allocations: 43.95 kB / 390.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01705, allocations: 4 kB / 390.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01706, allocations: 4 kB / 390.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.01707, allocations: 7.938 kB / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01707, allocations: 0 / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.01742, allocations: 462.6 kB / 390.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.01748, allocations: 59.61 kB / 390.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.01751, allocations: 8 kB / 390.8 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.01762, allocations: 15.98 kB / 390.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.01769, allocations: 19.95 kB / 390.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.0177, allocations: 8 kB / 390.9 MB, free: 5.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000348/0.01805, allocations: 463 kB / 391.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01805, allocations: 0 / 391.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.01835, allocations: 67.83 kB / 391.4 MB, free: 5.223 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 (20): * Single equations (assignments): 20 * 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.00097/0.01932, allocations: 393.5 kB / 391.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.01958, allocations: 118 kB / 391.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01958, allocations: 0 / 391.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.01967, allocations: 63.58 kB / 392 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.02009, allocations: 88.61 kB / 392 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.02133, allocations: 0.8265 MB / 392.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.02143, allocations: 148.5 kB / 393 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.0216, allocations: 83.19 kB / 393.1 MB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.02168, allocations: 40.48 kB / 393.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.02169, allocations: 0 / 393.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of Templates: time 0.007884/0.02957, allocations: 4.674 MB / 397.8 MB, free: 14.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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.4599725450389087]