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.00111/0.00111, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001256/0.001256, allocations: 169 kB / 24.82 MB, free: 8.656 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.089/1.089, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2945/0.2945, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.793e-06/1.793e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.179e-05, allocations: 6.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003208/0.00324, allocations: 2.082 MB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.005138, allocations: 1.359 MB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.005263, allocations: 7.938 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.005505, allocations: 63.38 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.005945, allocations: 230.9 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.006922, allocations: 0.5963 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.007291, allocations: 366.8 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.007434, allocations: 48.91 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.00773, allocations: 191.4 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.007963, allocations: 187.5 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.007999, allocations: 16 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.008132, allocations: 59.92 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.008276, allocations: 155.4 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.008368, allocations: 103.6 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.008761, allocations: 338.6 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008764, allocations: 4 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008766, allocations: 0 / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.008771, allocations: 0 / 384.3 MB, free: 12.57 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.0009819/0.009753, allocations: 0.8443 MB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.009812, allocations: 8.031 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.01018, allocations: 104.5 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.01063, allocations: 365.3 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.01065, allocations: 8.375 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.01068, allocations: 8.375 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.01089, allocations: 137.1 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01091, allocations: 3.938 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.01092, allocations: 8 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.01093, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.011, allocations: 31.91 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.01166, allocations: 0.5963 MB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.0118, allocations: 98.2 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.01184, allocations: 23.38 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.01187, allocations: 20.03 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.01189, allocations: 37.39 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.0119, allocations: 0 / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008296/0.01272, allocations: 320.7 kB / 386.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.01276, allocations: 81.11 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.01331, allocations: 0.6633 MB / 387.6 MB, free: 9.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01333, allocations: 29.7 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.01354, allocations: 339.1 kB / 388 MB, free: 8.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.0136, allocations: 71.38 kB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.01366, allocations: 43.34 kB / 388.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.01386, allocations: 0.5702 MB / 388.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.01391, allocations: 23.97 kB / 388.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.01399, allocations: 51.28 kB / 388.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01412, allocations: 87.45 kB / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01413, allocations: 0 / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000262/0.01439, allocations: 177.2 kB / 389 MB, free: 7.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.0144, allocations: 11.94 kB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01441, allocations: 0 / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01442, allocations: 4 kB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.01458, allocations: 47.89 kB / 389.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01459, allocations: 7.984 kB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.01468, allocations: 19.94 kB / 389.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01469, allocations: 0.9688 kB / 389.1 MB, free: 7.52 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.0001088/0.0148, allocations: 164.6 kB / 389.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.01489, allocations: 67.56 kB / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.01522, allocations: 226.3 kB / 389.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.01523, allocations: 4 kB / 389.5 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01523, allocations: 0 / 389.5 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01523, allocations: 3.984 kB / 389.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007042/0.01594, allocations: 0.677 MB / 390.2 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01594, allocations: 0 / 390.2 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.01608, allocations: 47.91 kB / 390.3 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01608, allocations: 4 kB / 390.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01609, allocations: 3.984 kB / 390.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.0161, allocations: 8 kB / 390.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.0161, allocations: 0 / 390.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01643, allocations: 466.5 kB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.01649, allocations: 51.61 kB / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.01653, allocations: 8 kB / 390.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.01667, allocations: 7.984 kB / 390.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.01673, allocations: 19.97 kB / 390.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01675, allocations: 11.98 kB / 390.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.01707, allocations: 418.9 kB / 391.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01707, allocations: 0 / 391.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.01742, allocations: 68 kB / 391.3 MB, free: 5.227 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.0009859/0.01841, allocations: 387.6 kB / 391.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01861, allocations: 102.5 kB / 391.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01862, allocations: 0 / 391.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.01871, allocations: 59.58 kB / 391.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.01925, allocations: 97.67 kB / 391.9 MB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.02041, allocations: 0.8186 MB / 392.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.02052, allocations: 144.5 kB / 392.9 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.02068, allocations: 67.22 kB / 393 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.02087, allocations: 142.2 kB / 393.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02087, allocations: 0 / 393.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of Templates: time 0.008772/0.02964, allocations: 5.004 MB / 398.1 MB, free: 14.58 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.5720539200119674]